MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __neg__

Method __neg__

lib/sqlalchemy/sql/operators.py:641–647  ·  view source on GitHub ↗

Implement the ``-`` operator. In a column context, produces the clause ``-a``.

(self)

Source from the content-addressed store, hash-verified

639 return self.operate(ge, other)
640
641 def __neg__(self) -> ColumnOperators:
642 """Implement the ``-`` operator.
643
644 In a column context, produces the clause ``-a``.
645
646 """
647 return self.operate(neg)
648
649 def __contains__(self, other: Any) -> ColumnOperators:
650 return self.operate(contains, other)

Callers

nothing calls this directly

Calls 1

operateMethod · 0.95

Tested by

no test coverage detected