How to query records where jsonb string field is in array – Postgresql
I want to query ActiveRecord collection and select records, where string value inside jsonb field is included in a given array. Model: create_table "dishes", force: :cascade do |t| ... t.jsonb "params" ... end Content of params always has this structure:…