MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / null_op

Function null_op

lib/sqlalchemy/sql/operators.py:2643–2651  ·  view source on GitHub ↗

a 'null' operator that provides a boolean operation. Does not compile in a SQL context, used for testing operators only. .. versionadded:: 2.1

(a: Any, b: Any)

Source from the content-addressed store, hash-verified

2641
2642@_operator_fn
2643def null_op(a: Any, b: Any) -> Any:
2644 """a 'null' operator that provides a boolean operation.
2645
2646 Does not compile in a SQL context, used for testing operators only.
2647
2648 .. versionadded:: 2.1
2649
2650 """
2651 return a._null_operate(b)
2652
2653
2654def is_comparison(op: OperatorType) -> bool:

Callers

nothing calls this directly

Calls 1

_null_operateMethod · 0.80

Tested by

no test coverage detected