update()
should always be combined with Filters to target the item(s) you wish to update.const { data, error } = await supabase
.from('characters')
.update({ name: 'Han Solo' })
.match({ name: 'Han' })
const { data, error } = await supabase
.from('users')
.update(`
address: {
street: 'Melrose Place',
postcode: 90210
}
`)
.eq('address->postcode', 90210)