summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/postgres
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-07-23 16:57:26 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-01 10:32:39 +0200
commitbd47b9bc816bf213b6d0027ed9a9a44955bb7694 (patch)
tree6d91331c5207696c3434a1c44c679e4c9164f376 /docs/ref/contrib/postgres
parent000d4302341f49f2ec5f219d94d5dddac1a2acf5 (diff)
Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.
Diffstat (limited to 'docs/ref/contrib/postgres')
-rw-r--r--docs/ref/contrib/postgres/aggregates.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt
index cc177aca87..7c901a0bad 100644
--- a/docs/ref/contrib/postgres/aggregates.txt
+++ b/docs/ref/contrib/postgres/aggregates.txt
@@ -75,6 +75,16 @@ General-purpose aggregation functions
Returns an ``int`` of the bitwise ``OR`` of all non-null input values, or
``default`` if all values are null.
+``BitXor``
+----------
+
+.. versionadded:: 4.1
+
+.. class:: BitXor(expression, filter=None, default=None, **extra)
+
+ Returns an ``int`` of the bitwise ``XOR`` of all non-null input values, or
+ ``default`` if all values are null. It requires PostgreSQL 14+.
+
``BoolAnd``
-----------