Update a record by ID
Notice that when updating we use updateTable
instead of selectFrom
, and the .set
goes before the .where
, just like it does in regular SQL.
Notice that when updating we use updateTable
instead of selectFrom
, and the .set
goes before the .where
, just like it does in regular SQL.