apoc.merge.nodeWithStats.eager

Procedure

apoc.merge.nodeWithStats.eager(labels LIST<STRING>, identProps MAP<STRING, ANY>, onCreateProps MAP<STRING, ANY>, onMatchProps MAP<STRING, ANY>) - merges the given NODE values with the given dynamic labels eagerly. Provides queryStatistics in the result.

Signature

apoc.merge.nodeWithStats.eager(labels :: LIST<STRING>, identProps :: MAP, onCreateProps = {} :: MAP, onMatchProps = {} :: MAP) :: (stats :: MAP, node :: NODE)

Input parameters

Name Type Default Description

labels

LIST<STRING>

null

The list of labels used for the generated merge statement. Passing null or an empty list will merge a node without any labels. null or empty strings within the list are not supported.

identProps

MAP

null

Properties on the node that are always merged

onCreateProps

MAP

{}

Properties that are merged when a node is created

onMatchProps

MAP

{}

Properties that are merged when a node is matched

Output parameters