MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _negate_in_binary

Method _negate_in_binary

lib/sqlalchemy/sql/elements.py:453–460  ·  view source on GitHub ↗

a hook to allow the right side of a binary expression to respond to a negation of the binary expression. Used for the special case of expanding bind parameter with IN.

(self, negated_op, original_op)

Source from the content-addressed store, hash-verified

451 return c
452
453 def _negate_in_binary(self, negated_op, original_op):
454 """a hook to allow the right side of a binary expression to respond
455 to a negation of the binary expression.
456
457 Used for the special case of expanding bind parameter with IN.
458
459 """
460 return self
461
462 def _with_binary_element_type(self, type_):
463 """in the context of binary expression, convert the type of this

Callers 1

_negateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected