update(table, a)
Name of table.
A dictionary of values.
The OID of the newly updated row.
Similar to insert but updates an existing row. The update is based on the OID value as munged by get. The array returned is the one sent modified to reflect any changes caused by the update due to triggers, rules, defaults, etc.