Rows to insert: (columns) VALUES (...), (...) from the first row's
keys, then RETURNING when returning gave one.
Attributes#
| Attribute | Type | Description |
|---|---|---|
value | tuple[Mapping[str, object], ...] | |
returning_identifier | Returning = field(default=None, kw_only=True) |
Functions#
__init__#
__init__(value, *, returning_identifier=None) -> None| Parameter | Type | Description |
|---|---|---|
value | tuple[Mapping[str, object], ...] | |
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))