Containment
@> asks whether the left jsonb contains the right one. A GIN index can serve it.
task
Products whose attrs contain {"waterproof": true}.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
@> asks whether the left jsonb contains the right one. A GIN index can serve it.
Products whose attrs contain {"waterproof": true}.