diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-12 01:35:37 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-12 01:35:37 -0500 |
commit | 6d5dd2214a4cc6340d8f07147a43fac03a12b040 (patch) | |
tree | c83f93cc83f2793506b5e6a7c05450effe247c3c /lib/sqlalchemy/orm/dynamic.py | |
parent | 57b95f45536e1f9c4450d118f0fb2534606b6f2a (diff) | |
download | sqlalchemy-6d5dd2214a4cc6340d8f07147a43fac03a12b040.tar.gz |
- refactor query._get() into two methods - a static one that does
just the identity map lookup + expired check, the other
which does the load unconditionally. All the refresh/deferred load
calls use the unconditional load method, query.get() and
LoadLazyAttribute call the identity check by itself first. m2o
lazyloads for object already in the identity map callcounts are
now cut in half, since no Query object is created.
Diffstat (limited to 'lib/sqlalchemy/orm/dynamic.py')
0 files changed, 0 insertions, 0 deletions