Is it possible to override the default loading strategy of a relationship
at run-time? For example, I have a relationship that I almost always want
to load with lazy='subquery' -- and so I set that as the default loading
strategy in the relationship definition -- but in one instance, when I
have you looked at http://docs.sqlalchemy.org/en/rel_0_8/orm/loading.html ?
On Sep 12, 2013, at 9:18 PM, Seth P spadow...@gmail.com wrote:
Is it possible to override the default loading strategy of a relationship at
run-time? For example, I have a relationship that I almost always want to
D'oh! I did, though for some reason it didn't occur to me that I could
specify .override(lazyload('points')) to override the relationship's
default lazy='subquery'. Works like a charm. Thank you.
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To