BitOr
This class provides a PostgreSQL-specific implementation of the bitwise OR aggregate function. It is currently deprecated and serves as a wrapper around the standard aggregate implementation to maintain backward compatibility. Users are encouraged to migrate to the core aggregate version for future compatibility.
Constructor
Signature
def BitOr(
expression: Any,
**extra: dict
)
Parameters
| Name | Type | Description |
|---|---|---|
| expression | Any | The database column or expression to perform the bitwise OR operation on. |
| **extra | dict | Additional keyword arguments for the aggregate expression. |
Signature
def BitOr(
expression: [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression),
**extra: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| expression | [Expression](../../../../db/models/expressions/expression.md?sid=django_db_models_expressions_expression) | The database column or expression to perform the bitwise OR aggregation upon |
| **extra | dict | Additional keyword arguments passed to the parent aggregate constructor |