]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added 'fetchmode' capability to deferred polymorphic loading.
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 May 2007 00:12:01 +0000 (00:12 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 May 2007 00:12:01 +0000 (00:12 +0000)
commit4c13759a953c62fb05367d6cdf2b9905a9d70092
treefd582b059a4507217facd0ec793f4b08be9c9516
parent9706ef4ab8beacd16bcdaa29ef11179982b796a6
- added 'fetchmode' capability to deferred polymorphic loading.
can load immediately via second select or via deferred columns.
needs work to reduce complexity and possibly to improve upon unnecessary work
performed by ColumnLoader objects hitting lots of non-existent columns
- would like to add post_exec() step to MapperProperty...but need to devise some way
such that MapperProperty instances can register themselves in the SelectContext as
requiring post_exec....otherwise we add huge method call overhead (and there is too
much already)
- fix to deferred loading so that the attributes loaded by "group" deferred loading
get proper CommittedState
- some refactoring to attributes to support setting attributes as committed
examples/polymorph/polymorph.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/polymorph.py
test/orm/inheritance/polymorph2.py
test/orm/mapper.py