How can I add wildcard support to a PostgreSQL query where one array must contain all the values from another array?
Basically, I am trying to create a tag search system for images, in which each image has an array of tags within a jsonb field image_data, like so: id image_data 1 {tags: ['landscape', 'dog']} 2 {tags: ['landscape', 'cat']} 3 {tags:…