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

Method __rsub__

lib/sqlalchemy/sql/operators.py:1948–1954  ·  view source on GitHub ↗

Implement the ``-`` operator in reverse. See :meth:`.ColumnOperators.__sub__`.

(self, other: Any)

Source from the content-addressed store, hash-verified

1946 return self.reverse_operate(add, other)
1947
1948 def __rsub__(self, other: Any) -> ColumnOperators:
1949 """Implement the ``-`` operator in reverse.
1950
1951 See :meth:`.ColumnOperators.__sub__`.
1952
1953 """
1954 return self.reverse_operate(sub, other)
1955
1956 def __rmul__(self, other: Any) -> ColumnOperators:
1957 """Implement the ``*`` operator in reverse.

Callers

nothing calls this directly

Calls 1

reverse_operateMethod · 0.95

Tested by

no test coverage detected