We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcac5a commit 4246228Copy full SHA for 4246228
simple/test.js
@@ -1616,7 +1616,7 @@ exports.test = function (global) {
1616
1617
indexCollectAggregate = function (params) {
1618
db._query(
1619
- "FOR c IN @@c COLLECT group = doc.value1 AGGREGATE agg = SUM(doc.value2) RETURN [group, agg]",
+ "FOR doc IN @@c COLLECT group = doc.value1 AGGREGATE agg = SUM(doc.value2) RETURN [group, agg]",
1620
{ "@c": params.collection },
1621
{},
1622
{ silent }
0 commit comments