apoc.create.vPattern

Procedure APOC Core

apoc.create.vPattern({_labels:['LabelA'],key:value},'KNOWS',{key:value,…​}, {_labels:['LabelB'],key:value}) returns a virtual pattern

Signature

apoc.create.vPattern(from :: MAP?, relType :: STRING?, props :: MAP?, to :: MAP?) :: (from :: NODE?, rel :: RELATIONSHIP?, to :: NODE?)

Input parameters

Name Type Default

from

MAP?

null

relType

STRING?

null

props

MAP?

null

to

MAP?

null

Output parameters

Name Type

from

NODE?

rel

RELATIONSHIP?

to

NODE?