]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added a new "lazyload" option "immediateload".
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Oct 2010 15:59:02 +0000 (11:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Oct 2010 15:59:02 +0000 (11:59 -0400)
commit295fd901258751f42192dd506a2fcd4af7b46d58
tree9571770039e042eaa1e929068ff81faa26a866c0
parent35508a30d7f0e92bd699da375316c75d9d6dd8dc
- Added a new "lazyload" option "immediateload".
Issues the usual "lazy" load operation automatically
as the object is populated.   The use case
here is when loading objects to be placed in
an offline cache, or otherwise used after
the session isn't available, and straight 'select'
loading, not 'joined' or 'subquery', is desired.
[ticket:1914]
CHANGES
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/dynamic.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/strategies.py