SQL examples
Inspect the actual SQL, returned values, and PostgreSQL column types from the comparison fixtures.
NULL array concatenation
SQL NULL and an empty array remain distinct.
SELECT id, tags||tags FROM inv ORDER BY id Recorded results
SELECT 3 | # | idinteger | ?column?text[] |
|---|---|---|
| 1 | 1 | {a,b,a,b} |
| 2 | 2 | {} |
| 3 | 3 | NULL |
These examples use saved replay results. Run your own query or see the full comparison.