apoc.create.virtualPath
Procedure APOC Core
apoc.create.virtualPath(['LabelA'],{key:value},'KNOWS',{key:value,…},['LabelB'],{key:value}) returns a virtual path of nodes joined by a relationship and the associated properties
Signature
apoc.create.virtualPath(labelsN :: LIST? OF STRING?, n :: MAP?, relType :: STRING?, props :: MAP?, labelsM :: LIST? OF STRING?, m :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)Input parameters
| Name | Type | Default | 
|---|---|---|
| labelsN | LIST? OF STRING? | null | 
| n | MAP? | null | 
| relType | STRING? | null | 
| props | MAP? | null | 
| labelsM | LIST? OF STRING? | null | 
| m | MAP? | null |