[SERVER-17953] Implement Driver CRUD API Spec in shell Created: 09/Apr/15 Updated: 15/Jun/20 Resolved: 10/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.7 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Christian Amor Kvalheim |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Application developers generally use two APIs: a driver and the shell. As one of my readers points out, this makes API conformance between the drivers and the shell at least as important as conformance among drivers. Let's implement the Driver CRUD API Spec in the shell: insertOne, insertMany, findOneAndDelete, etc. The old APIs can be deprecated, or not. The spec is written to avoid breaking backwards compatibility so existing mongo shell scripts and examples will keep working. |
| Comments |
| Comment by Githook User [ 04/Aug/15 ] |
|
Author: {u'username': u'christkv', u'name': u'Christian Kvalheim', u'email': u'christkv@gmail.com'}Message: Closes #1004. Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com>
|
| Comment by Daniel Pasette (Inactive) [ 20/Apr/15 ] |
|
Assigning to Christian as discussed with @erlichson |
| Comment by A. Jesse Jiryu Davis [ 11/Apr/15 ] |
|
Note the test suite for compliance: https://github.com/mongodb/specifications/tree/master/source/crud/tests This'll help validate the shell's API matches drivers'. |