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)
| 1037 | notilike = not_ilike |
| 1038 | |
| 1039 | def is_(self, other: Any) -> ColumnOperators: |
| 1040 | """Implement the ``IS`` operator. |
| 1041 | |
| 1042 | Normally, ``IS`` is generated automatically when comparing to a |
| 1043 | value of ``None``, which resolves to ``NULL``. However, explicit |
| 1044 | usage of ``IS`` may be desirable if comparing to boolean values |
| 1045 | on certain platforms. |
| 1046 | |
| 1047 | .. seealso:: :meth:`.ColumnOperators.is_not` |
| 1048 | |
| 1049 | """ |
| 1050 | return self.operate(is_, other) |
| 1051 | |
| 1052 | def is_not(self, other: Any) -> ColumnOperators: |
| 1053 | """Implement the ``IS NOT`` operator. |