update_by_id
Update a row in a table by its ID.
Parameters
Name | Description | Type | Default |
---|---|---|---|
table (required) | Name of the table to update. | str | None |
id (required) | ID of the row to update. | str | None |
values (required) | Dictionary (or dataclass) of column-value pairs to set. Optional[dict]: The updated row, or None if no row matches. | Any | None |