Flutter: Delete data

Perform a DELETE on the table or view.

Examples

Delete records

await supabase
  .from('cities')
  .delete()
  .match(\{ 'id': 666 \});

Fetch deleted records

final List<Map<String,dynamic>> data = await supabase
  .from('cities')
  .delete()
  .match(\{ 'id': 666 \})
  .select();