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

Backport of f04b44bad4 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
1 changed files with 3 additions and 0 deletions

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
----------------------------------------- -----------------------------------------