Postgresql – How to PSQL query for jsonb column with nested array to contain string
I have a table that has a jsonb foo with below nested structure foo: {"bar":[{"baz":["special string"]}]} I want to query in psql for all records whose foo.bar can contain an object with the array value at baz containing the "special…