Apoc.coll.intersection and apoc.coll.set

When I try to use apoc.coll.intersection, it doesn`t work. I see the error: there isn't such procedure.
But apoc.coll.set works correctly.
version -
Added to conf file:
I see this issue on Windows and Linux
Could I fix this?

What exact statement causes the error?

apoc.coll.intersection() is a function, not a procedure, so you won't use the CALL ... YIELD syntax.

An example that should work for you:

RETURN apoc.coll.intersection([1,2,3,4,5], [3,5,9])
1 Like