]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- query.with_parent() now accepts transient objects
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Sep 2010 14:55:53 +0000 (10:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 Sep 2010 14:55:53 +0000 (10:55 -0400)
commitccde5319358aa3eb0e075dbcf01024001230b02b
tree5173442c847b06ad5c353184621e4e848b60f0d1
parentbe5207a98f62090aa5200d7808730a40dd840dac
- query.with_parent() now accepts transient objects
and will use the non-persistent values of their pk/fk
attributes in order to formulate the criterion.
Docs are also clarified as to the purpose of with_parent().
- fix for PG test executing an alias()
CHANGES
lib/sqlalchemy/orm/properties.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/strategies.py
test/dialect/test_postgresql.py
test/orm/test_dynamic.py
test/orm/test_query.py