Implement the ``!=`` operator. In a column context, produces the clause ``a != b``. If the target is ``None``, produces ``a IS NOT NULL``.
(self, other: Any)
| 748 | return self.operate(eq, other) |
| 749 | |
| 750 | def __ne__(self, other: Any) -> ColumnOperators: # type: ignore[override] |
| 751 | """Implement the ``!=`` operator. |
| 752 | |
| 753 | In a column context, produces the clause ``a != b``. |
| 754 | If the target is ``None``, produces ``a IS NOT NULL``. |
| 755 | |
| 756 | """ |
| 757 | return self.operate(ne, other) |
| 758 | |
| 759 | def is_distinct_from(self, other: Any) -> ColumnOperators: |
| 760 | """Implement the ``IS DISTINCT FROM`` operator. |