Convenience wrapper over updateRow that scopes the update to a single id (WHERE idColumn = id).
WHERE idColumn = id
Type of returned rows when RETURNING is used
RETURNING
Primary key used for shard routing
Target table name
Primary-key value to match
Column to value map of changes to apply
idColumn (default id) and returning
idColumn
id
returning
The write result
1.2.4
await patch('42', 'tickets', 42, { status: 'closed', priority: 'high' }); Copy
await patch('42', 'tickets', 42, { status: 'closed', priority: 'high' });
Convenience wrapper over updateRow that scopes the update to a single id (
WHERE idColumn = id).