apoc.merge.nodeWithStats

Procedure

apoc.merge.nodeWithStats(labels [String], identProps Map<String, Any>, props Map<String, Any>, onMatchProps Map<String, Any>) - merges the given node(s) with the given dynamic labels. Provides queryStatistics in the result.

Signature

apoc.merge.nodeWithStats(labels :: LIST? OF STRING?, identProps :: MAP?, props = {} :: MAP?, onMatchProps = {} :: MAP?) :: (stats :: MAP?, node :: NODE?)

Input parameters

Name Type Default

labels

LIST? OF STRING?

null

identProps

MAP?

null

props

MAP?

{}

onMatchProps

MAP?

{}

Output parameters

Name Type

stats

MAP?

node

NODE?