[Sqlalchemy-tickets] Issue #3948: post-load of joined-inh subtables (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Michael B. <iss...@bi...> - 2017-03-28 14:49:22
|
New issue 3948: post-load of joined-inh subtables https://bitbucket.org/zzzeek/sqlalchemy/issues/3948/post-load-of-joined-inh-subtables Michael Bayer: using the post_load architecture of #3944, add `post_with_polymorphic` argument to mapper. Subclasses will be loaded using a query like query(Subclass).options(defer(everything on superclass), noload(everything on superclass)), as opposed to a custom SELECT statement the way the lazy load works, so that relationship loaders and other loader options on the subclass take effect normally. |