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
)
| 979 | notin_ = not_in |
| 980 | |
| 981 | def not_like( |
| 982 | self, other: Any, escape: Optional[str] = None |
| 983 | ) -> ColumnOperators: |
| 984 | """implement the ``NOT LIKE`` operator. |
| 985 | |
| 986 | This is equivalent to using negation with |
| 987 | :meth:`.ColumnOperators.like`, i.e. ``~x.like(y)``. |
| 988 | |
| 989 | .. versionchanged:: 1.4 The ``not_like()`` operator is renamed from |
| 990 | ``notlike()`` in previous releases. The previous name remains |
| 991 | available for backwards compatibility. |
| 992 | |
| 993 | .. seealso:: |
| 994 | |
| 995 | :meth:`.ColumnOperators.like` |
| 996 | |
| 997 | """ |
| 998 | return self.operate(not_like_op, other, escape=escape) |
| 999 | |
| 1000 | # deprecated 1.4; see #5435 |
| 1001 | if TYPE_CHECKING: |