jawj / zapatos

Zero-abstraction Postgres for TypeScript: a non-ORM database library
https://jawj.github.io/zapatos/
Other
1.3k stars 46 forks source link

Add array comparisons #165

Open pi-nathan opened 9 months ago

pi-nathan commented 9 months ago

Add array contains, is contained, and overlaps comparisons.

Added shortcut values where possible. ARRAY[1, 2, 3] @> ARRAY[] is true, ARRAY[1, 2, 3] && ARRAY[] is false.

Closes #164