LATERAL unnest
A set-returning function in FROM can use the row on its left with LATERAL. jsonb_array_elements_text turns a JSON array into rows.
task
One row per colour for each product with a colors array in attrs.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A set-returning function in FROM can use the row on its left with LATERAL. jsonb_array_elements_text turns a JSON array into rows.
One row per colour for each product with a colors array in attrs.