Additional functions and operators for integer arrays
intarray
extension provides additional functions and operators for working with arrays of integers. It’s particularly useful when you need to perform operations like unions, intersections, or searches on integer arrays without writing complex SQL queries.
Your Nile database arrives with the intarray
extension already enabled.
&&
- overlap (have elements in common)@>
- contains<@
- is contained by=
- equal+
- union&
- intersection-
- difference&&
)@>
)<@
)=
)sort
, uniq
) create new arrays