apoc.merge.relationshipWithStats

Procedure APOC Core

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

Signature

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

Input parameters

Name Type Default

startNode

NODE?

null

relationshipType

STRING?

null

identProps

MAP?

null

props

MAP?

null

endNode

NODE?

null

onMatchProps

MAP?

{}

Output parameters

Name Type

stats

MAP?

rel

RELATIONSHIP?