diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-03-18 17:01:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-03-18 17:01:25 +0000 |
| commit | 8811ea705d22b4ee6c343683a70ad3b5fb6f3e34 (patch) | |
| tree | 0ba86f6e38cae718515469b86794f58a315240f7 /lib/sqlalchemy | |
| parent | fcc8307c3d407058337da9318da6e83d1a0ce960 (diff) | |
| parent | 4dfc449839f011db5b84f9a8dbf80896d34f4204 (diff) | |
| download | sqlalchemy-8811ea705d22b4ee6c343683a70ad3b5fb6f3e34.tar.gz | |
Merge "updated doc string to show `NOT (EXISTS` instead of `NOT EXISTS`, as …"
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/orm/relationships.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/relationships.py b/lib/sqlalchemy/orm/relationships.py index f8437a00f..227543485 100644 --- a/lib/sqlalchemy/orm/relationships.py +++ b/lib/sqlalchemy/orm/relationships.py @@ -1285,8 +1285,8 @@ class RelationshipProperty(StrategizedProperty): will produce:: SELECT * FROM my_table WHERE - NOT EXISTS (SELECT 1 FROM related WHERE - related.my_id=my_table.id) + NOT (EXISTS (SELECT 1 FROM related WHERE + related.my_id=my_table.id)) :meth:`~.RelationshipProperty.Comparator.any` is only valid for collections, i.e. a :func:`.relationship` |
