implement the ``NOT LIKE`` operator. This is equivalent to using negation with :meth:`.ColumnOperators.like`, i.e. ``~x.like(y)``. .. versionchanged:: 1.4 The ``not_like()`` operator is renamed from ``notlike()`` in previous releases. The previous name remains
(
self, other: Any, escape: Optional[str] = None
)
| 1169 | notin_ = not_in |
| 1170 | |
| 1171 | def not_like( |
| 1172 | self, other: Any, escape: Optional[str] = None |
| 1173 | ) -> ColumnOperators: |
| 1174 | """implement the ``NOT LIKE`` operator. |
| 1175 | |
| 1176 | This is equivalent to using negation with |
| 1177 | :meth:`.ColumnOperators.like`, i.e. ``~x.like(y)``. |
| 1178 | |
| 1179 | .. versionchanged:: 1.4 The ``not_like()`` operator is renamed from |
| 1180 | ``notlike()`` in previous releases. The previous name remains |
| 1181 | available for backwards compatibility. |
| 1182 | |
| 1183 | .. seealso:: |
| 1184 | |
| 1185 | :meth:`.ColumnOperators.like` |
| 1186 | |
| 1187 | """ |
| 1188 | return self.operate(not_like_op, other, escape=escape) |
| 1189 | |
| 1190 | # deprecated 1.4; see #5435 |
| 1191 | if TYPE_CHECKING: |