update()
should always be combined with Filters to target the item(s) you wish to update.The values to insert. Pass an dict to insert a single row or an list to insert multiple rows.
The property to use to get the count of rows returned.
response = (
supabase.table("countries")
.update(\{"name": "Australia"\})
.eq("id", 1)
.execute()
)
response = (
supabase.table("users")
.update(\{"address": \{"street": "Melrose Place", "postcode": 90210\}\})
.eq("address->postcode", 90210)
.execute()
)