synchronize_session='evaluate' does not work when filtering by relation
Hi,
It seems Query.delete(synchronize_session='evaluate') does not work if there is a filter condition which references a relation instead of a column. Tested with SQLAlchemy 1.0.11.
Gabor
Comments (5)
-
repo owner -
repo owner -
repo owner -
repo owner - changed status to resolved
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)→ <<cset 0470abadd237>>
-
repo owner 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→ <<cset a51ab916622d>>
- Log in to comment
ok this patch will resolve: