Return a copy with :func:`_expression.bindparam` elements replaced. Same functionality as :meth:`_expression.ClauseElement.params`, except adds `unique=True` to affected bind parameters so that multiple statements can be used.
(
self,
__optionaldict: Optional[Dict[str, Any]] = None,
**kwargs: Any,
)
| 568 | return key.bindparams |
| 569 | |
| 570 | def unique_params( |
| 571 | self, |
| 572 | __optionaldict: Optional[Dict[str, Any]] = None, |
| 573 | **kwargs: Any, |
| 574 | ) -> Self: |
| 575 | """Return a copy with :func:`_expression.bindparam` elements |
| 576 | replaced. |
| 577 | |
| 578 | Same functionality as :meth:`_expression.ClauseElement.params`, |
| 579 | except adds `unique=True` |
| 580 | to affected bind parameters so that multiple statements can be |
| 581 | used. |
| 582 | |
| 583 | """ |
| 584 | return self._replace_params(True, __optionaldict, kwargs) |
| 585 | |
| 586 | def params( |
| 587 | self, |
nothing calls this directly
no test coverage detected