filter() expects you to use the raw PostgREST syntax for the filter values.
.filter('id', 'in', '(5,6,7)') # Use `()` for `in` filter
.filter('arraycol', 'cs', '\{"a","b"\}') # Use `cs` for `contains()`, `\{\}` for array values
The column to filter on
The operator to filter with, following PostgREST syntax
The value to filter with, following PostgREST syntax
response = (
supabase.table("countries")
.select("*")
.filter("name", "in", '("Algeria","Japan")')
.execute()
)
response = (
supabase.table("countries")
.select("name, cities!inner(name)")
.filter("cities.name", "eq", "Bali")
.execute()
)