Flutter: Delete data

Perform a DELETE on the table or view.

Examples

Delete records

await supabase
  .from('countries')
  .delete()
  .eq('id', 1);

Delete multiple records

await supabase
  .from('countries')
  .delete()
  .inFilter('id', [1, 2, 3])

Fetch deleted records

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