How to query JSONB, beginner sheet cheat

How to query JSONB, beginner sheet cheat

Let’s say we have to query a user table with a metadata JSONB column on a PostgreSQL 9.5+ database.