Implement the [] operator. This can be used by some database-specific types such as PostgreSQL ARRAY and HSTORE.
(self, index: Any)
| 814 | return self.operate(contains, other) |
| 815 | |
| 816 | def __getitem__(self, index: Any) -> ColumnOperators: |
| 817 | """Implement the [] operator. |
| 818 | |
| 819 | This can be used by some database-specific types |
| 820 | such as PostgreSQL ARRAY and HSTORE. |
| 821 | |
| 822 | """ |
| 823 | return self.operate(getitem, index) |
| 824 | |
| 825 | def __lshift__(self, other: Any) -> ColumnOperators: |
| 826 | """Implement the ``<<`` operator. |