Produce a unary bitwise NOT clause, typically via the ``~`` operator. Not to be confused with boolean negation :func:`_sql.not_`. .. versionadded:: 2.0.2 .. seealso:: :ref:`operators_bitwise`
(expr: _ColumnExpressionArgument[_T])
| 1159 | |
| 1160 | |
| 1161 | def bitwise_not(expr: _ColumnExpressionArgument[_T]) -> UnaryExpression[_T]: |
| 1162 | """Produce a unary bitwise NOT clause, typically via the ``~`` operator. |
| 1163 | |
| 1164 | Not to be confused with boolean negation :func:`_sql.not_`. |
| 1165 | |
| 1166 | .. versionadded:: 2.0.2 |
| 1167 | |
| 1168 | .. seealso:: |
| 1169 | |
| 1170 | :ref:`operators_bitwise` |
| 1171 | |
| 1172 | |
| 1173 | """ |
| 1174 | |
| 1175 | return UnaryExpression._create_bitwise_not(expr) |
| 1176 | |
| 1177 | |
| 1178 | def extract(field: str, expr: _ColumnExpressionArgument[Any]) -> Extract: |
nothing calls this directly
no test coverage detected