|
This seems to always happen, probably as a result of update/validation re-write.
cat /tmp/id.json
|
{__v:0,_id:1,string:"foo1"}
|
{__v:0,_id:2,string:"foo2"}
|
{__v:0,_id:3,string:"foo3"}
|
mongoimport -d test -c whereisid < /tmp/id.json
|
connected to: 127.0.0.1
|
2014-07-27T13:01:10.381-0700 imported 3 objects
|
Asyas-MacBook-Pro:Logs asya$ mongo test --eval 'printjson(db.whereisid.find().toArray())'
|
MongoDB shell version: 2.6.1
|
connecting to: test
|
[
|
{
|
"_id" : 1,
|
"__v" : 0,
|
"string" : "foo1"
|
},
|
{
|
"_id" : 2,
|
"__v" : 0,
|
"string" : "foo2"
|
},
|
{
|
"_id" : 3,
|
"__v" : 0,
|
"string" : "foo3"
|
}
|
]
|
|