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

Method __le__

lib/sqlalchemy/sql/operators.py:559–565  ·  view source on GitHub ↗

Implement the ``<=`` operator. In a column context, produces the clause ``a <= b``.

(self, other: Any)

Source from the content-addressed store, hash-verified

557 return self.operate(lt, other)
558
559 def __le__(self, other: Any) -> ColumnOperators:
560 """Implement the ``<=`` operator.
561
562 In a column context, produces the clause ``a <= b``.
563
564 """
565 return self.operate(le, other)
566
567 # ColumnOperators defines an __eq__ so it must explicitly declare also
568 # an hash or it's set to None by python:

Callers

nothing calls this directly

Calls 1

operateMethod · 0.95

Tested by

no test coverage detected