-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.4.3
-
Component/s: Write Ops
-
None
-
Storage Execution
-
Fully Compatible
It would be nice if the creation of a view could return the number of documents in the view (as for insert/remove/update which provides stats on the performed operation )
for example, it could looks like this:
> db.createView("out", "test", {$match: {field: "random"}}) { "ok" : 1, "nDocsInView": 254 }
- related to
-
SERVER-61611 extend OpObserver::aboutToDelete() to accept collection UUID
- Closed