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)
| 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. |