]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [feature] New standalone function with_polymorphic()
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Apr 2012 02:17:25 +0000 (22:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Apr 2012 02:17:25 +0000 (22:17 -0400)
commitcb3913a186a01d9425e0ba97de89aa6d7d64ab96
tree7616eade5c09cb0b6e833d8e881f795f4ea965f5
parent841ea194bd7cf239323ee21320210fd6dc5c551d
- [feature] New standalone function with_polymorphic()
provides the functionality of query.with_polymorphic()
in a standalone form.   It can be applied to any
entity within a query, including as the target
of a join in place of the "of_type()" modifier.
[ticket:2333]
- redo a large portion of the inheritance docs in terms
of declarative, new with_polymorphic() function
- upgrade examples/inheritance/polymorph, rename to "joined"
CHANGES
doc/build/core/types.rst
doc/build/orm/inheritance.rst
examples/inheritance/joined.py [new file with mode: 0644]
examples/inheritance/polymorph.py [deleted file]
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
test/orm/inheritance/test_with_poly.py [new file with mode: 0644]