为什么我的查询不能处理集合中超过100个文档?
db.collection('allowedmacs').find().toArray(function(err, docs) {
console.log(docs);
}
Run Code Online (Sandbox Code Playgroud)
错误地说:
name: 'MongoError',
message: 'connection destroyed, not possible to instantiate cursor'
Run Code Online (Sandbox Code Playgroud)
如果文件<100,一切正常.