Dart Reference v2.0

Update data

Perform an UPDATE on the table or view.

  • update() should always be combined with Filters to target the item(s) you wish to update.
Parameters
    values
    REQUIRED
    Map<String, dynamic>

    The values to update with.


await supabase
  .from('cities')
  .update({ 'name': 'Middle Earth' })
  .match({ 'name': 'Auckland' });