filter() expects you to use the raw PostgREST syntax for the filter values.
The column to filter on.
The operator to use for the filter.
The value to filter with.
supabase.from("countries").select \{
filter \{
filter(column = "name", operator = FilterOperator.IN, value = "('Algeria', 'Japan')")
\}
\}
val columns = Columns.raw("""
name,
cities!inner (
name
)
""".trimIndent())
supabase.from("countries").select(
columns = columns
) \{
filter \{
filter(column = "cities.name", operator = FilterOperator.EQ, value = "Bali")
\}
\}