The old shell added a number of functions to JS builtins that we're currently missing, and that we might want for script compatibility at least:
plus Object.bsonsize (an alias for the global bsonsize, and from the looks of it, the only documented utility).
These are a lot of functions, and we may not want all of them.
Differences doc: https://docs.google.com/document/u/1/d/1ssisfyD1BskYfc2XR-rGvypnvhT9llw_Z47zp420dME/edit
- is related to
-
MONGOSH-711 Support Date.timeFunc() from old shell?
- Closed
-
MONGOSH-766 Add mongo.getDBs()/getDBNames()
- Closed
-
MONGOSH-780 Add Mongo.get/setWriteConcern
- Closed