Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
2.3.1
-
None
-
Fully Compatible
-
ALL
Description
If you do
> db.runCommand
|
function ( obj ){
|
if ( typeof( obj ) == "string" ){
|
var n = {};
|
n[obj] = 1;
|
obj = n;
|
}
|
return this.getCollection( "$cmd" ).findOne( obj );
|
}
|
The output is not indented.
This worked with spidermonkey