How to query arrays?

I am getting this error whilst trying to make a query for array values.
could not find array type for data type text[]

here is my query:

    const { data, error } = await supabase
      .from('recipes')
      .select('*')
      .in('tags', ['Snack']);

Also, I converted my column from JSONB to Text[], does that make any difference?
Screenshot_2022-11-16_at_17.19.16.png
Was this page helpful?