r"""Add values for bind parameters which may have been specified in filter(). Parameters may be specified using \**kwargs, or optionally a single dictionary as the first positional argument. The reason for both is that \**kwargs is convenient, however some parameter
(
self, __params: Optional[Dict[str, Any]] = None, **kw: Any
)
| 1845 | |
| 1846 | @_generative |
| 1847 | def params( |
| 1848 | self, __params: Optional[Dict[str, Any]] = None, **kw: Any |
| 1849 | ) -> Self: |
| 1850 | r"""Add values for bind parameters which may have been |
| 1851 | specified in filter(). |
| 1852 | |
| 1853 | Parameters may be specified using \**kwargs, or optionally a single |
| 1854 | dictionary as the first positional argument. The reason for both is |
| 1855 | that \**kwargs is convenient, however some parameter dictionaries |
| 1856 | contain unicode keys in which case \**kwargs cannot be used. |
| 1857 | |
| 1858 | """ |
| 1859 | if __params: |
| 1860 | kw.update(__params) |
| 1861 | self._params = self._params.union(kw) |
| 1862 | return self |
| 1863 | |
| 1864 | def where(self, *criterion: _ColumnExpressionArgument[bool]) -> Self: |
| 1865 | """A synonym for :meth:`.Query.filter`. |