Boolean expression. Test if keys are a proper subset of the keys of the argument jsonb expression (equivalent of the ``<@`` operator).
(self, other: Any)
| 358 | return self.operate(CONTAINS, other, result_type=sqltypes.Boolean) |
| 359 | |
| 360 | def contained_by(self, other: Any) -> ColumnElement[bool]: |
| 361 | """Boolean expression. Test if keys are a proper subset of the |
| 362 | keys of the argument jsonb expression |
| 363 | (equivalent of the ``<@`` operator). |
| 364 | """ |
| 365 | return self.operate( |
| 366 | CONTAINED_BY, other, result_type=sqltypes.Boolean |
| 367 | ) |
| 368 | |
| 369 | def delete_path( |
| 370 | self, array: Union[List[str], _pg_array[str]] |