Skip to main content
Updates every row that matches the filters and returns how many changed. At least one filter is required, so a whole table can’t be updated by accident.

Parameters

string
required
Project id from list_projects. You need write access.
string
required
Table name.
object[]
required
At least one condition. Rows must match all of them. See Filters.
object
required
Column values to set, keyed by column name. Pass null to clear a value. id and created_at can’t be updated.

Result

integer
The number of rows updated. 0 when nothing matched.

Example

Arguments
Result

Errors

To update one row, filter on its id: [{ "col": "id", "op": "eq", "value": "<uuid>" }].