Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ op
Function
op
lib/sqlalchemy/sql/operators.py:2071–2072 ·
view source on GitHub ↗
(a: Any, opstring: str, b: Any)
Source
from the content-addressed store, hash-verified
2069
2070
@_operator_fn
2071
def
op(a: Any, opstring: str, b: Any) -> Any:
2072
return
a.op(opstring)(b)
2073
2074
2075
@comparison_op
Callers
15
operate
Method · 0.85
reverse_operate
Method · 0.85
operate
Method · 0.85
reverse_operate
Method · 0.85
_op
Method · 0.85
_reflect_indexes
Method · 0.85
operate
Method · 0.85
reverse_operate
Method · 0.85
operate
Method · 0.85
reverse_operate
Method · 0.85
operate
Method · 0.85
reverse_operate
Method · 0.85
Calls
1
op
Method · 0.45
Tested by
11
test_nonsensical_negations
Method · 0.68
test_parenthesized_exprs
Method · 0.68
test_associatives
Method · 0.68
test_non_associatives
Method · 0.68
test_empty_clauses
Method · 0.68
test_integer_integer_coercion_to_integer
Method · 0.68
test_integer_numeric_coercion_to_numeric
Method · 0.68
test_row_comparison
Method · 0.68
test_operators_custom
Method · 0.68
test_numerics_coercion
Method · 0.68
test_comparator_null
Method · 0.68