1
0
mirror of https://github.com/django/django.git synced 2025-07-07 19:29:12 +00:00

[4.0.x] Refs #33319 -- Added note about commutation of QuerySet's | operator.

Backport of f04b44bad40369ec2df74b16adb4d3f09350e4b2 from main
This commit is contained in:
Ömer Faruk Abacı 2021-12-08 10:19:07 +01:00 committed by Mariusz Felisiak
parent 15031852c5
commit bb8435f5db

View File

@ -1911,6 +1911,9 @@ SQL equivalent:
SELECT ... WHERE x=1 OR y=2 SELECT ... WHERE x=1 OR y=2
``|`` is not a commutative operation, as different (though equivalent) queries
may be generated.
Methods that do not return ``QuerySet``\s Methods that do not return ``QuerySet``\s
----------------------------------------- -----------------------------------------