python - Undefer all tables in SQLAlchemy? -


is there direct syntax undefer columns in query object?

i know there way of undefering groups, have query touching many tables many groups deferred i'd undefer. it's getting bit verbose.

i know can undefer columns in single table, doing every table:

# undefer columns specific single class using load + * session.query(myclass, myotherclass).options(     load(myclass).undefer("*")) 

http://docs.sqlalchemy.org/en/latest/orm/loading_columns.html#sqlalchemy.orm.undefer


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -