-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell API
-
None
-
Developer Tools
db.coll.explain().find().next():
- returns the explain results in the legacy shell
- iterates the cursor normally in mongosh
because the legacy shell API was not translated properly to mongosh.
We'll need to decide whether to stick with mongosh's now-established behavior or adopt the legacy shell's one (where the legacy shell created a 'fake' single-document cursor).