queries.UpdateQuery
Query class for UPDATE operations.
Usage
queries.UpdateQuery(
table,
values,
)Methods
| Name | Description |
|---|---|
| __init__() | Initialize a new UPDATE query. |
| all() | Explicitly indicate that this query should affect all rows. |
__init__()
Initialize a new UPDATE query.
Usage
__init__(table, values)Parameters
table: BaseTable-
The table to update
values: dict of str to Any- Column-value pairs to update
all()
Explicitly indicate that this query should affect all rows.
Usage
all()Returns
self- For method chaining