为什么第二次findOne浪费了很多时间
MongoClient.connect(URL,{useNewUrlParser:true},函数(err,client){
const db = client.db(dbName);
let coll = db.collection('account');
coll.findOne({_id: ObjectId('5d29cd56fdbfe11d38b4da4d')}, (err,result)=> {
console.log(result.tdid);
});
coll.findOne({_id: ObjectId('5d29cd56fdbfe11d38b4da4d')}, (err,result)=> {
console.log(result.tdid);
});
coll.findOne({_id: ObjectId('5d29cd56fdbfe11d38b4da4d')}, (err,result)=> {
console.log(result.tdid);
});
});