Only relevant for jsonb, array, and range columns. Match only rows where every element appearing in column is contained by value.
The jsonb, array, or range column to filter on
The jsonb, array, or range value to filter with
response = (
supabase.table("classes")
.select("name")
.contained_by("days", ["monday", "tuesday", "wednesday", "friday"])
.execute()
)
response = (
supabase.table("reservations")
.select("*")
.contained_by("during", "[2000-01-01 00:00, 2000-01-01 23:59)")
.execute()
)
response = (
supabase.table("users")
.select("name")
.contained_by("address", {})
.execute()
)