BitAnd
This class provides a PostgreSQL-specific implementation of the bitwise AND aggregate function. It is currently deprecated and serves as a wrapper for the standard aggregate version to maintain backward compatibility during the transition period.
Constructor
Signature
def BitAnd(
expression: Any,
**extra: dict
)
Parameters
| Name | Type | Description |
|---|---|---|
| expression | Any | The expression to be aggregated. |
| **extra | dict | Additional keyword arguments for the aggregate function. |
Signature
def BitAnd(
expression: django.db.models.Expression,
**extra: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| expression | django.db.models.Expression | The database column or expression to perform the bitwise AND operation upon |
| **extra | dict | Additional keyword arguments passed to the parent aggregate constructor |