Finds all rows whose value on the stated column
doesn't match the specified value
.
The column to filter on.
The value to filter with.
supabase.from("cities").select(columns = Columns.list("name", "country_id")) {
filter {
City::name neq "The Shire"
//or
neq("name", "The Shire")
}
}
val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) {
filter {
City::name neq "The Shire"
//or
neq("name", "The Shire")
}
}
supabase.from("cities").delete {
filter {
City::name neq "The Shire"
//or
neq("name", "The Shire")
}
}
supabase.rpc("echo_all_cities") {
filter {
neq("address->postcode", 90210)
}
}