Finds all rows whose value on the stated column
exactly matches 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 eq "The Shire"
//or
eq("name", "The Shire")
\}
\}
val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) \{
filter \{
City::name eq "San Francisco"
//or
eq("name", "San Francisco")
\}
\}
supabase.from("cities").delete \{
filter \{
City::name eq "Mordor"
//or
eq("name", "Mordor")
\}
\}
supabase.postgrest.rpc("function") \{
filter \{
City::name eq "Mordor"
//or
eq("name", "Mordor")
\}
\}