* Brosefski [2019-03-21 09:07:55]:
> Hi Cedric,

Hello,

> with [Column(table1, f) for f in ["field2", "field3"]], is it
> possible to do column aliases this way?

You can do something like

    [Column(table, f).as_(some_code) for f in …]

Regards,

-- 
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: nicolas.evr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"python-sql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python-sql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to