Kotlin: Delete data

Examples

Delete records

supabase.postgrest["cities"].delete \{
   City::id eq 666
   //or
   eq("id", 666)
\}

Fetch deleted records

val deletedCity = supabase.postgrest["cities"].delete \{
   City::id eq 666
   //or
   eq("id", 666)
\}.decodeSingle<City>()