diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-15 11:59:02 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-10-15 11:59:02 -0400 |
commit | 295fd901258751f42192dd506a2fcd4af7b46d58 (patch) | |
tree | 9571770039e042eaa1e929068ff81faa26a866c0 /lib/sqlalchemy/orm/dynamic.py | |
parent | 35508a30d7f0e92bd699da375316c75d9d6dd8dc (diff) | |
download | sqlalchemy-295fd901258751f42192dd506a2fcd4af7b46d58.tar.gz |
- 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]
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
-rw-r--r-- | lib/sqlalchemy/orm/dynamic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/dynamic.py b/lib/sqlalchemy/orm/dynamic.py index c5ddaca40..dd2c6e896 100644 --- a/lib/sqlalchemy/orm/dynamic.py +++ b/lib/sqlalchemy/orm/dynamic.py @@ -36,7 +36,7 @@ class DynaLoader(strategies.AbstractRelationshipLoader): ) def create_row_processor(self, selectcontext, path, mapper, row, adapter): - return (None, None) + return None, None, None log.class_logger(DynaLoader) |