-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
3
Right now if you type a function, you get the raw output:
> db.coll.mapReduce
[Function] {
returnsPromise: true,
serverVersions: [ '0.0.0', '4.4.0' ],
topologies: [ 0, 2, 1 ],
returnType: { type: 'unknown', attributes: {} },
platforms: [ 0, 1, 2 ],
help: [Function] Help
}
Maybe we can print something nicer? we could print the help command, or we could at least convert the enums like topologies/platforms to their proper names instead of [1,2,3].
- is related to
-
MONGOSH-872 Add links to source code of API methods as function property
- Waiting (Blocked)