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 6bfc544 commit 44c4ae4Copy full SHA for 44c4ae4
tests/SpecTests/atlas_data_lake/estimatedDocumentCount.json
@@ -15,8 +15,25 @@
15
{
16
"command_started_event": {
17
"command": {
18
- "count": "driverdata"
19
- }
+ "aggregate": "driverdata",
+ "pipeline": [
20
+ {
21
+ "$collStats": {
22
+ "count": {}
23
+ }
24
+ },
25
26
+ "$group": {
27
+ "_id": 1,
28
+ "n": {
29
+ "$sum": "$count"
30
31
32
33
+ ]
34
35
+ "command_name": "aggregate",
36
+ "database_name": "test"
37
}
38
39
]
0 commit comments