[SERVER-35989] Mongo shell needs a countDocuments function Created: 06/Jul/18 Updated: 29/Oct/23 Resolved: 03/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.3, 4.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joe Drumgoole (Inactive) | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||
| Sprint: | Repl 2018-07-30, Repl 2018-08-13 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
countDocuments was a late change to the drivers for MongoDB 4.0 and is missing from the MongoDB Shell. Needs to be added in a future release. |
| Comments |
| Comment by Githook User [ 28/Aug/18 ] |
|
Author: {'name': 'Pavi Vetriselvan', 'email': 'pvselvan@umich.edu', 'username': 'pvselvan'}Message: (cherry picked from commit eb8bc29deed882f86f0103df2489cf6e2d4f4113) |
| Comment by Githook User [ 02/Aug/18 ] |
|
Author: {'username': 'pvselvan', 'name': 'Pavi Vetriselvan', 'email': 'pvselvan@umich.edu'}Message: |
| Comment by Tess Avitabile (Inactive) [ 10/Jul/18 ] |
|
Yes, this ticket should also include estimatedDocumentCount(). |
| Comment by Jeremy Mikola [ 06/Jul/18 ] |
|
Should this ticket incorporate estimatedDocumentCount() as well? The specs for both functions are discussed in the drivers' CRUD spec. |