MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __lshift__

Method __lshift__

lib/sqlalchemy/sql/operators.py:825–832  ·  view source on GitHub ↗

Implement the ``<<`` operator. Not used by SQLAlchemy core, this is provided for custom operator systems which want to use << as an extension point.

(self, other: Any)

Source from the content-addressed store, hash-verified

823 return self.operate(getitem, index)
824
825 def __lshift__(self, other: Any) -> ColumnOperators:
826 """Implement the ``<<`` operator.
827
828 Not used by SQLAlchemy core, this is provided
829 for custom operator systems which want to use
830 << as an extension point.
831 """
832 return self.operate(lshift, other)
833
834 def __rlshift__(self, other: Any) -> ColumnOperators:
835 """Implement the ``<<`` operator in reverse.

Callers

nothing calls this directly

Calls 1

operateMethod · 0.95

Tested by

no test coverage detected