MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_

Method is_

lib/sqlalchemy/sql/operators.py:1229–1240  ·  lib/sqlalchemy/sql/operators.py::ColumnOperators.is_

Implement the ``IS`` operator. Normally, ``IS`` is generated automatically when comparing to a value of ``None``, which resolves to ``NULL``. However, explicit usage of ``IS`` may be desirable if comparing to boolean values on certain platforms. .. seealso:

(self, other: Any)

Source from the content-addressed store, hash-verified

1227 notilike = not_ilike
1228
1229 def is_(self, other: Any) -> ColumnOperators:
1230 class="st">"""Implement the ``IS`` operator.
1231
1232 Normally, ``IS`` is generated automatically when comparing to a
1233 value of ``None``, which resolves to ``NULL``. However, explicit
1234 usage of ``IS`` may be desirable if comparing to boolean values
1235 on certain platforms.
1236
1237 .. seealso:: :meth:`.ColumnOperators.is_not`
1238
1239 class="st">"""
1240 return self.operate(is_, other)
1241
1242 def is_not(self, other: Any) -> ColumnOperators:
1243 class="st">"""Implement the ``IS NOT`` operator.

Callers 15

get_table_namesMethod · 0.45
get_temp_table_namesMethod · 0.45
_table_options_queryMethod · 0.45
_column_queryMethod · 0.45
_constraint_queryMethod · 0.45
is_Function · 0.45
runMethod · 0.45
test_elevenMethod · 0.45
test_twelveMethod · 0.45
test_is_true_literalMethod · 0.45
test_is_false_literalMethod · 0.45

Calls 1

operateMethod · 0.95

Tested by 14

runMethod · 0.36
test_elevenMethod · 0.36
test_twelveMethod · 0.36
test_is_true_literalMethod · 0.36
test_is_false_literalMethod · 0.36
test_typedec_is_adaptMethod · 0.36
test_issue_9418Function · 0.36