apoc.create.relationship

Procedure

apoc.create.relationship(person1,'KNOWS',{key:value,…​}, person2) create relationship with dynamic rel-type

Signature

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

Input parameters

Name Type Default

from

NODE?

null

relType

STRING?

null

props

MAP?

null

to

NODE?

null

Output parameters