MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_not_distinct_from

Method is_not_distinct_from

lib/sqlalchemy/sql/operators.py:768–779  ·  view source on GitHub ↗

Implement the ``IS NOT DISTINCT FROM`` operator. Renders "a IS NOT DISTINCT FROM b" on most platforms; on some such as SQLite may render "a IS b". .. versionchanged:: 1.4 The ``is_not_distinct_from()`` operator is renamed from ``isnot_distinct_from()`` in previou

(self, other: Any)

Source from the content-addressed store, hash-verified

766 return self.operate(is_distinct_from, other)
767
768 def is_not_distinct_from(self, other: Any) -> ColumnOperators:
769 """Implement the ``IS NOT DISTINCT FROM`` operator.
770
771 Renders "a IS NOT DISTINCT FROM b" on most platforms;
772 on some such as SQLite may render "a IS b".
773
774 .. versionchanged:: 1.4 The ``is_not_distinct_from()`` operator is
775 renamed from ``isnot_distinct_from()`` in previous releases.
776 The previous name remains available for backwards compatibility.
777
778 """
779 return self.operate(is_not_distinct_from, other)
780
781 # deprecated 1.4; see #5435
782 if TYPE_CHECKING:

Calls 1

operateMethod · 0.95