]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Accommodate "callable" bound param in evaluator
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 May 2016 14:32:07 +0000 (10:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 May 2016 14:32:07 +0000 (10:32 -0400)
commita51ab916622dd016ce51d6be0969112817cc42ad
treec141be1fd3dc6371eda8e75c17943bf521c914c3
parent1873d8107ac8cf4258440914d68f12332220e244
Accommodate "callable" bound param in evaluator

Fixed bug in "evaluate" strategy of :meth:`.Query.update` and
:meth:`.Query.delete` which would fail to accommodate a bound
parameter with a "callable" value, as which occurs when filtering
by a many-to-one equality expression along a relationship.

Change-Id: I47758d3f5d8b9ea1a07e23166780d5f3c32b17f1
Fixes: #3700
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/evaluator.py
test/orm/test_evaluator.py