apoc
apoc copied to clipboard
Using virtual nodes in Cypher
Using virtual nodes in Cypher
It appears that using virtual nodes in Cypher queries is not possible or bugged. Basically, if a procedure/function returns an APOC VirtualNode (or any Node implementation for that matter) I would expect it to be possible to use it as any other node.
Neo4j Version: 5.12.0 Operating System: Windows 11 API: Cypher
Steps to reproduce
Run this Cypher query:
WITH apoc.create.vNode(['vnode'], {name:'one'}) AS one
RETURN one.name
Expected behavior
Should return "one"
Actual behavior
Returns null
The reason I need this to work is to be able to implement field-level access control, which is not supported by Neo4j itself.