Rows for a multi-row update, as a VALUES list named alias
(escaped, never renamed). Not supported by SQLite.
Attributes#
| Attribute | Type | Description |
|---|---|---|
value | tuple[Mapping[str, object], ...] | |
alias | str | |
returning_identifier | Returning = field(default=None, kw_only=True) |
Functions#
__init__#
__init__(value, alias, *, returning_identifier=None) -> None| Parameter | Type | Description |
|---|---|---|
value | tuple[Mapping[str, object], ...] | |
alias | str | |
returning_identifier | Returning = None |
returning#
returning(sql) -> Self| Parameter | Type | Description |
|---|---|---|
sql | LiteralString | Identifier | Fragment |
Returns Self
def returning(self, sql: LiteralString | Identifier | Fragment) -> Self:
return replace(self, returning_identifier=_returning(sql))