Update data
Performs an UPDATE on the table.
update()
should always be combined with Filters to target the item(s) you wish to update.
await supabase
.from('cities')
.update({ 'name': 'Middle Earth' })
.match({ 'name': 'Auckland' });
Performs an UPDATE on the table.
update()
should always be combined with Filters to target the item(s) you wish to update.
await supabase
.from('cities')
.update({ 'name': 'Middle Earth' })
.match({ 'name': 'Auckland' });