[Sqlalchemy-tickets] Issue #3944: support for post-loading of relationships, joined inh subtables v
Brought to you by:
zzzeek
From: Michael B. <iss...@bi...> - 2017-03-23 21:55:43
|
New issue 3944: support for post-loading of relationships, joined inh subtables via IN loading https://bitbucket.org/zzzeek/sqlalchemy/issues/3944/support-for-post-loading-of-relationships Michael Bayer: this would be a new loader "selectin" for relationships that does "SELECT related FROM parent JOIN related WHERE parent.id IN (...loaded ids...)" and a similar idea for joined inheritance. The loader fires within a new section of the instance load that is after each batch of objects is loaded. because it's per-batch it would also work with yield-per. |