Skip to content

Commit 44c4ae4

Browse files
committed
PHPLIB-764: Update estimatedDocumentCount test for Atlas Data Lake
Synced with mongodb/specifications@6583f47
1 parent 6bfc544 commit 44c4ae4

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

tests/SpecTests/atlas_data_lake/estimatedDocumentCount.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,25 @@
1515
{
1616
"command_started_event": {
1717
"command": {
18-
"count": "driverdata"
19-
}
18+
"aggregate": "driverdata",
19+
"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"
2037
}
2138
}
2239
]

0 commit comments

Comments
 (0)