This is a hopefully less controversial alternative to MONGOSH-545. I frequently find myself writing Mongo(db.getMongo()._uri), but since _uri is not public or supported and might not become at any point, it would be nice if at least Mongo(db.getMongo()) worked (with the same semantics).
- related to
-
MONGOSH-545 Add public API for Mongo._uri field
- Closed