Only relevant for jsonb, array, and range columns. Match only rows where column
contains every element appearing in value
.
The jsonb, array, or range column to filter on
The jsonb, array, or range value to filter with
supabase.from("cities").select(columns = Columns.list("name")) \{
filter \{
City::mainExports contains listOf("oil")
//or
contains("main_exports", listOf("oil"))
\}
\}
val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) \{
filter \{
City::mainExports contains listOf("oil")
//or
contains("main_exports", listOf("oil"))
\}
\}
supabase.from("cities").delete \{
filter \{
City::mainExports contains listOf("oil")
//or
contains("main_exports", listOf("oil"))
\}
\}
supabase.postgrest.rpc("echo_all_cities") \{
filter \{
City::mainExports contains listOf("oil")
//or
contains("main_exports", listOf("oil"))
\}
\}