Skip to content

convenience "multi" selector for Table.c ?  #8285

@frbelotto

Description

@frbelotto

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureschemathings 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 anticipated

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions