]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- merged loader_strategies branch into trunk.
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Oct 2006 16:47:14 +0000 (16:47 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Oct 2006 16:47:14 +0000 (16:47 +0000)
commitbeff0e1e132e8005611ed4d3f07955252a7e8d72
tree7f1bef609120ec563d75b6f60e6c8216c8be1e4f
parent7a2194e6c0c392ea50fb8b325acb27f8a98428f9
- merged loader_strategies branch into trunk.
- this is a wide refactoring to "attribute loader" and "options" architectures.
ColumnProperty and PropertyLoader define their loading behaivor via switchable
"strategies", and MapperOptions no longer use mapper/property copying
in order to function; they are instead propigated via QueryContext
and SelectionContext objects at query/instnaces time.
All of the copying of mappers and properties that was used to handle
inheritance as well as options() has been removed and the structure
of mappers and properties is much simpler and more clearly laid out.
16 files changed:
CHANGES
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/exceptions.py
lib/sqlalchemy/ext/selectresults.py
lib/sqlalchemy/logging.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/interfaces.py [new file with mode: 0644]
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/strategies.py [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/entity.py
test/orm/manytomany.py
test/orm/mapper.py