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.
- related to
-
SERVER-48780 bulkWrite() in mongo shell does not check updates start with '$' and replacements do not
- Closed
-
SERVER-21273 Implement Driver CRUD API Spec for .explain()
- Closed
-
SERVER-26642 JS compiled code string length limit on Windows
- Closed