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

Method __lshift__

lib/sqlalchemy/sql/operators.py:661–668  ·  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

659 return self.operate(getitem, index)
660
661 def __lshift__(self, other: Any) -> ColumnOperators:
662 """implement the << operator.
663
664 Not used by SQLAlchemy core, this is provided
665 for custom operator systems which want to use
666 << as an extension point.
667 """
668 return self.operate(lshift, other)
669
670 def __rshift__(self, other: Any) -> ColumnOperators:
671 """implement the >> operator.

Callers

nothing calls this directly

Calls 1

operateMethod · 0.95

Tested by

no test coverage detected