apoc.merge.nodeWithStats
Procedure
apoc.merge.nodeWithStats(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.
Provides queryStatistics in the result.
Signature
apoc.merge.nodeWithStats(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 |
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. |