PostgreSQL - JSON and JSONB
You want to filter rows where the JSONB column
config contains the key 'enabled' but only if the value is true. Which query correctly combines JSONB existence and value check?