8000 updated CHANGELOG · aa10000/arangodb@5da6b9b · GitHub
[go: up one dir, main page]

Skip to content

Commit 5da6b9b

Browse files
committed
updated CHANGELOG
1 parent 3be94b6 commit 5da6b9b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CHANGELOG

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
devel
22
-----
33

4+
* added optional detail flag for db.<collection>.count()
5+
setting the flag to `true` will make the count operation returned the per-shard
6+
counts for the collection:
7+
8+
db._create("test", { numberOfShards: 10 });
9+
for (i = 0; i < 1000; ++i) {
10+
db.test.insert({value: i});
11+
}
12+
db.test.count(true);
13+
14+
{
15+
"s100058" : 99,
16+
"s100057" : 103,
17+
"s100056" : 100,
18+
"s100050" : 94,
19+
"s100055" : 90,
20+
"s100054" : 122,
21+
"s100051" : 109,
22+
"s100059" : 99,
23+
"s100053" : 95,
24+
"s100052" : 89
25+
}
26+
427
* added optional memory limit for AQL queries:
528

629
db._query("FOR i IN 1..100000 SORT i RETURN i", {}, { options: { memoryLimit: 100000 } });

0 commit comments

Comments
 (0)
0