PostgreSQL - JSON and JSONB
You have a table with a JSONB column indexed by GIN. You want to find rows where the JSONB contains either
{"type": "admin"} or {"type": "user"}. Which query uses the GIN index efficiently?