From bd47b9bc816bf213b6d0027ed9a9a44955bb7694 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Fri, 23 Jul 2021 16:57:26 +0100 Subject: Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres. --- docs/ref/contrib/postgres/aggregates.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/ref/contrib/postgres') 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`` ----------- -- cgit v1.3