Kotlin: Delete data

Parameters

Examples

Delete records

supabase.from("cities").delete \{
    filter \{
        City::id eq 666
        //or
        eq("id", 666)
    \}
\}

Fetch deleted records

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