Implement the [] operator. This can be used by some database-specific types such as PostgreSQL ARRAY and HSTORE.
(self, index: Any)
| 650 | return self.operate(contains, other) |
| 651 | |
| 652 | def __getitem__(self, index: Any) -> ColumnOperators: |
| 653 | """Implement the [] operator. |
| 654 | |
| 655 | This can be used by some database-specific types |
| 656 | such as PostgreSQL ARRAY and HSTORE. |
| 657 | |
| 658 | """ |
| 659 | return self.operate(getitem, index) |
| 660 | |
| 661 | def __lshift__(self, other: Any) -> ColumnOperators: |
| 662 | """implement the << operator. |