SupabaseS
Supabase•4y ago
T

How to delete using .match ?

consider this code

const { data, error } = await supabase
.from('attendance')
.delete()
.match([{address: $userAccount.address, id: id}])


The actual table has another column, which is a UUID. Do I also need that to be present in the .match method for it to delete ? currently i get an error when trying the above 😦
Was this page helpful?