Skip to main content

BitXor

This class provides a PostgreSQL-specific implementation of the bitwise XOR aggregate function. It is currently deprecated and serves as a wrapper around the standard aggregate BitXor function to maintain backward compatibility.

Constructor

Signature

def BitXor(
expression: Any,
**extra: dict
)

Parameters

NameTypeDescription
expressionAnyThe SQL expression or field to perform the bitwise XOR operation on.
**extradictAdditional keyword arguments for the aggregate function.

Signature

def BitXor(
expression: [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression),
**extra: dict
) - > null

Parameters

NameTypeDescription
expression[Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression)The database column or expression to perform the bitwise XOR aggregation upon
**extradictAdditional keyword arguments for configuring the underlying aggregate function