diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-10 16:54:23 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-09-10 16:54:23 -0400 |
commit | bb62d80217e584acf3f899804bb66b19f71205e2 (patch) | |
tree | 72fb88a12bcf660be5408f5acd64518eb3381dbf /lib/sqlalchemy/sql/expression.py | |
parent | e61a4438493c812990382ec5f1fc46016b319a4c (diff) | |
download | sqlalchemy-bb62d80217e584acf3f899804bb66b19f71205e2.tar.gz |
- New event hook, MapperEvents.after_configured().
Called after a configure() step has completed and
mappers were in fact affected. Theoretically this
event is called once per application, unless new mappings
are constructed after existing ones have been used
already.
- New declarative features:
- __declare_last__() method, establishes an event
listener for the class method that will be called
when mappers are completed with the final "configure"
step.
- __abstract__ flag. The class will not be mapped
at all when this flag is present on the class.
- New helper classes ConcreteBase, AbstractConcreteBase.
Allow concrete mappings using declarative which automatically
set up the "polymorphic_union" when the "configure"
mapper step is invoked.
- The mapper itself has semi-private methods that allow
the "with_polymorphic" selectable to be assigned
to the mapper after it has already been configured.
[ticket:2239]
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions