On Monday, 23 April 2018 16:46:52 UTC+1, Jeremy Flowers wrote:
>
> Is alias or mapping the correct construct if I want to select a subset of 
>> the fields that SQLACODEGEN created?
>
> I sent you a Skype invite. I'd be interested in getting some training if 
> you'd like to continue the chat via Skype.
>

I've also seen here <https://stackoverflow.com/a/45905714/495157> you can 
use load_only 
<http://docs.sqlalchemy.org/en/latest/orm/loading_columns.html#sqlalchemy.orm.load_only>.
 
Can a query defined that way be assigned to j2 - per the alias in your 
example?
 

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to