mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.
This commit is contained in:
committed by
Mariusz Felisiak
parent
000d430234
commit
bd47b9bc81
@@ -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``
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user