-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell
-
Server Tooling & Methods
A common thing to do in the CLI is this:
> db.foo.findOne(); { "_id" : ObjectId("588d3099827f74e88834ba88"), "K_dbl" : 3, ...
and then copy and paste the output somewhere. As the field name hints here, K_dbl is double:
Buzzs-MacBook-Pro-2:stuff buzz$ sh runt walkMongo -d testX -c foo --justOne _id: org.bson.types.ObjectId: 588d3099827f74e88834ba88 K_dbl: java.lang.Double: 3.0 ...
We really should add ".0" to make it totally obvious this is a double.