]> 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:33:36 +0000 (10:33 -0400)
commit0470abadd23774bba6ae0677f451b3d408ffcfb0
tree077c99bb1401165a08fd2d250c5ba5ec11ed402d
parent8c8b1bd53c2fe1f63b87eeab80519237191c8b26
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
(cherry picked from commit a51ab916622dd016ce51d6be0969112817cc42ad)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/evaluator.py
test/orm/test_evaluator.py