From f04b44bad40369ec2df74b16adb4d3f09350e4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Abac=C4=B1?= Date: Wed, 8 Dec 2021 10:19:07 +0100 Subject: [PATCH] Refs #33319 -- Added note about commutation of QuerySet's | operator. --- docs/ref/models/querysets.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index b2bf5baf900..51aa7184b6d 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1898,6 +1898,9 @@ SQL equivalent: 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 -----------------------------------------