-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
convenience "multi" selector for Table.c ? #8285
Copy link
Copy link
Closed
Labels
featureschemathings related to the DDL related objects like Table, Column, CreateIndex, etc.things related to the DDL related objects like Table, Column, CreateIndex, etc.sqluse casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated
Milestone
Metadata
Metadata
Assignees
Labels
featureschemathings related to the DDL related objects like Table, Column, CreateIndex, etc.things related to the DDL related objects like Table, Column, CreateIndex, etc.sqluse casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated
Describe the use case
When executing a select() method selecting specific columns, choosing several columns is not really "fast". You must specify the table_name.c.Column_name several times in a single select.
I wonder if wouldn't be able/capable of running a multiple column select fast by inserting a list of column
Databases / Backends / Drivers targeted
Any compatible?
Example Use
select(table_name.column['a','b','c'])Instead of
select(table_name.c.a, table_name.c.b, table_name.c.c)for example
Additional context
I´ve searched across several docs trying to really understand a easier way to select several columns, but unsuccessful.
I am sorry if this is not the right way to ask for this or if I´ve misunderstood any docs regarding this situation.
Best regards,