r"""Implement the ``ilike`` operator, e.g. case insensitive LIKE. In a column context, produces an expression either of the form: .. sourcecode:: sql lower(a) LIKE lower(other) Or on backends that support the ILIKE operator: .. sourcecode:: sql
(
self, other: Any, escape: Optional[str] = None
)
| 724 | return self.operate(like_op, other, escape=escape) |
| 725 | |
| 726 | def ilike( |
| 727 | self, other: Any, escape: Optional[str] = None |
| 728 | ) -> ColumnOperators: |
| 729 | r"""Implement the ``ilike`` operator, e.g. case insensitive LIKE. |
| 730 | |
| 731 | In a column context, produces an expression either of the form: |
| 732 | |
| 733 | .. sourcecode:: sql |
| 734 | |
| 735 | lower(a) LIKE lower(other) |
| 736 | |
| 737 | Or on backends that support the ILIKE operator: |
| 738 | |
| 739 | .. sourcecode:: sql |
| 740 | |
| 741 | a ILIKE other |
| 742 | |
| 743 | E.g.:: |
| 744 | |
| 745 | stmt = select(sometable).where(sometable.c.column.ilike("%foobar%")) |
| 746 | |
| 747 | :param other: expression to be compared |
| 748 | :param escape: optional escape character, renders the ``ESCAPE`` |
| 749 | keyword, e.g.:: |
| 750 | |
| 751 | somecolumn.ilike("foo/%bar", escape="/") |
| 752 | |
| 753 | .. seealso:: |
| 754 | |
| 755 | :meth:`.ColumnOperators.like` |
| 756 | |
| 757 | """ # noqa: E501 |
| 758 | return self.operate(ilike_op, other, escape=escape) |
| 759 | |
| 760 | def bitwise_xor(self, other: Any) -> ColumnOperators: |
| 761 | """Produce a bitwise XOR operation, typically via the ``^`` |