-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.8.0-rc2
-
Component/s: Storage
-
None
-
ALL
-
One of the things we cannot do after changing to use listCollections is to return counts of the number of collections for a given filter which we currently support in mmap.
> db.system.namespaces.find()
{ "name" : "b.system.indexes" } { "name" : "b.t.$_id_" } { "name" : "b.t" }> db.system.namespaces.find(
{name: "b.t"})
{ "name" : "b.t” }> db.system.namespaces.count(
{name: "b.t"})
1
- duplicates
-
SERVER-16521 Make listCollections() an aggregation source
- Backlog
- is related to
-
SERVER-14707 listCollections and listIndexes commands should return a cursor
- Closed