Skip to main content
Version: v1-dev

Delete data: delete()

Performs a DELETE on the table.

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

Notes

  • delete() should always be combined with Filters to target the item(s) you wish to delete.

Examples

Delete records

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