apoc.nodes.group

Procedure

Signature

apoc.nodes.group(labels :: LIST? OF STRING?, groupByProperties :: LIST? OF STRING?, aggregations = [{*=count}, {*=count}] :: LIST? OF MAP?, config = {} :: MAP?) :: (nodes :: LIST? OF NODE?, relationships :: LIST? OF RELATIONSHIP?, node :: NODE?, relationship :: RELATIONSHIP?)

Input parameters

Name Type Default

labels

LIST? OF STRING?

null

groupByProperties

LIST? OF STRING?

null

aggregations

LIST? OF MAP?

[{=count}, {=count}]

config

MAP?

{}

Output parameters

Name Type

nodes

LIST? OF NODE?

relationships

LIST? OF RELATIONSHIP?

node

NODE?

relationship

RELATIONSHIP?