You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: core/src/main/java/apoc/agg/MaxAndMinItems.java
+55-13
Original file line number
Diff line number
Diff line change
@@ -53,41 +53,83 @@ public class MaxAndMinItems {
53
53
@UserAggregationFunction("apoc.agg.maxItems")
54
54
@Description(
55
55
"Returns a `MAP` `{items: LIST<ANY>, value: ANY}` where the `value` key is the maximum value present, and `items` represent all items with the same value. The size of the list of items can be limited to a given max size.")
56
-
publicMaxOrMinItemsFunctionmaxItems() {
57
-
returnnewMaxOrMinItemsFunction(true);
56
+
publicMaxItemsFunctionmaxItems() {
57
+
returnnewMaxItemsFunction();
58
58
}
59
59
60
60
@UserAggregationFunction("apoc.agg.minItems")
61
61
@Description(
62
62
"Returns a `MAP` `{items: LIST<ANY>, value: ANY}` where the `value` key is the minimum value present, and `items` represent all items with the same value. The size of the list of items can be limited to a given max size.")
0 commit comments