Neo4j APOC custom function hangs when nothing is found
viamo-sl opened this issue · comments
viamo-sl commented
Details: Neo4j APOC custom function hangs when nothing is found
The following Cypher queries lead to a hang-up:
CALL apoc.custom.declareFunction('test(limit :: INTEGER)::LIST OF INTEGER?', '
MATCH (m:Movie)
WITH m.id AS id
LIMIT $limit
RETURN id
')
RETURN custom.test(0) as ids
Expected Behavior (Mandatory)
[{'ids': []}]
Actual Behavior (Mandatory)
hang-up