In PostgreSQL, the @>
operator checks to see whether the first array contains the second array. That is, whether or not the array on the left of the operator contains all elements in the array to the right.
The function returns a Boolean result: It returns true
if the first array contains the second, and false
if it doesn’t. If the result is unknown, it returns NULL
.