mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres.
This commit is contained in:
parent
000d430234
commit
bd47b9bc81
5 changed files with 55 additions and 5 deletions
|
@ -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``
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue