Array operators
@> tests that one array contains another. = ANY tests membership. Subscripts start at 1.
task
One row: [1,2,3] contains [2], 2 equals ANY of it, its length, and its second element of [10,20,30].
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
@> tests that one array contains another. = ANY tests membership. Subscripts start at 1.
One row: [1,2,3] contains [2], 2 equals ANY of it, its length, and its second element of [10,20,30].