MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __neg__

Method __neg__

lib/sqlalchemy/sql/operators.py:805–811  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

803 return self.operate(ge, other)
804
805 def __neg__(self) -> ColumnOperators:
806 """Implement the ``-`` operator.
807
808 In a column context, produces the clause ``-a``.
809
810 """
811 return self.operate(neg)
812
813 def __contains__(self, other: Any) -> ColumnOperators:
814 return self.operate(contains, other)

Callers

nothing calls this directly

Calls 1

operateMethod · 0.95

Tested by

no test coverage detected