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

Method __radd__

lib/sqlalchemy/sql/operators.py:1940–1946  ·  view source on GitHub ↗

Implement the ``+`` operator in reverse. See :meth:`.ColumnOperators.__add__`.

(self, other: Any)

Source from the content-addressed store, hash-verified

1938 return self.operate(collate, collation)
1939
1940 def __radd__(self, other: Any) -> ColumnOperators:
1941 """Implement the ``+`` operator in reverse.
1942
1943 See :meth:`.ColumnOperators.__add__`.
1944
1945 """
1946 return self.reverse_operate(add, other)
1947
1948 def __rsub__(self, other: Any) -> ColumnOperators:
1949 """Implement the ``-`` operator in reverse.

Callers

nothing calls this directly

Calls 1

reverse_operateMethod · 0.95

Tested by

no test coverage detected