Python: Update data

Parameters

Examples

Updating your data

response = (
    supabase.table("countries")
    .update(\{"name": "Australia"\})
    .eq("id", 1)
    .execute()
)

Updating JSON data

response = (
    supabase.table("users")
    .update(\{"address": \{"street": "Melrose Place", "postcode": 90210\}\})
    .eq("address->postcode", 90210)
    .execute()
)