For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Perform an UPDATE on the table or view.
update() should always be combined with Filters to target the item(s) you wish to update.The values to update with.
await supabase
.from('instruments')
.update({ 'name': 'piano' })
.eq('id', 1);
final data = await supabase
.from('instruments')
.update({ 'name': 'piano' })
.eq('id', 1)
.select();
await supabase
.from('users')
.update({
'address': {
'street': 'Melrose Place',
'postcode': 90210
}
})
.eq('address->postcode', 90210);