PostgreSQL has the SOME()
construct that we can use to perform searches against arrays. It returns a Boolean result, and so we can incorporate this into our searches to return just those rows that yield true or false.
SOME()
is a synonym for ANY()
, and so we can use either one to get the same result.