How to create a query in Supabase to find words contained in column?
I have a Supabase project where I use a PostgreSQL database. One of my columns is called tags, and I store an array of strings in the JSONB type. I input a word and want to find a row that contains an array with that word, and for that, I use the .contains() function. However, when I write .contains(“tags”, input.toList) (input is the incoming string), I get an error: