apoc.agg.minItems

Function

apoc.agg.minItems(item, value, groupLimit: -1) - returns a map {items:[], value:n} where value is the minimum value present, and items are all items with the same value. The number of items can be optionally limited.

Signature

apoc.agg.minItems(item :: ANY?, value :: ANY?, groupLimit = -1 :: INTEGER?) :: (ANY?)

Input parameters

Name Type Default

item

ANY?

null

value

ANY?

null

groupLimit

INTEGER?

-1