Finds all rows whose value on the stated column
is less than the specified value
.
The column to filter on.
The value to filter with.
supabase.from("cities").select(columns = Columns.list("name")) {
filter {
City::countryId lt 300
//or
lt("country_id", 300)
}
}
val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) {
filter {
City::countryId lt 300
//or
lt("country_id", 300)
}
}
supabase.from("cities").delete {
filter {
City::countryId lt 300
//or
lt("country_id", 300)
}
}
supabase.postgrest.rpc("echo_all_cities") {
filter {
City::countryId lt 300
//or
lt("country_id", 300)
}
}