Querying jsonb column with nested objects and array of values in PostgreSQL?
I have a jsonb column with data like this: { "rules": [ { "type": "weekdays", "values": [ 3, 5 ] }, { "type": "dates", "values": [ "2024-01-01", "2024-01-02", "2024-01-03" ] } ] } What would a SELECT statement look like…