A synonym for the :meth:`.where` method. .. versionadded:: 1.4
(self, *criteria: roles.ExpressionElementRole[Any])
| 1554 | return self |
| 1555 | |
| 1556 | def filter(self, *criteria: roles.ExpressionElementRole[Any]) -> Self: |
| 1557 | """A synonym for the :meth:`.where` method. |
| 1558 | |
| 1559 | .. versionadded:: 1.4 |
| 1560 | |
| 1561 | """ |
| 1562 | |
| 1563 | return self.where(*criteria) |
| 1564 | |
| 1565 | def filter_by(self, **kwargs: Any) -> Self: |
| 1566 | r"""Apply the given filtering criterion as a WHERE clause |