apoc.merge.relationshipWithStats.eager

Procedure APOC Core

apoc.merge.relationshipWithStats.eager - same as apoc.merge.relationship.eager providing queryStatistics into result

Signature

apoc.merge.relationshipWithStats.eager(startNode :: NODE?, relationshipType :: STRING?, identProps :: MAP?, onCreateProps :: MAP?, endNode :: NODE?, onMatchProps = {} :: MAP?) :: (stats :: MAP?, rel :: RELATIONSHIP?)

Input parameters

Name Type Default Description

startNode

NODE?

null

Start node of the merge pattern.

relationshipType

STRING?

null

Relationship type of the merge pattern.

identProps

MAP?

null

Properties on the relationships that are always merged.

onCreateProps

MAP?

null

Properties that are merged when the relationship is created.

endNode

NODE?

null

End node of the merge pattern.

onMatchProps

MAP?

{}

Properties that are merged when the relationship is matched.

Output parameters

Name Type

stats

MAP?

rel

RELATIONSHIP?