Mongodbの公式ドキュメント
、オプションのパラメータtimeout falseに設定できます 。
db.collection('mycollection').find({}, {timeout:false}, function(err, cursor) {
if (!err) {
// Iterate safely on your cursor here
} else {
console.log(err);
}
});
Mongodbの公式ドキュメント
、オプションのパラメータtimeout falseに設定できます 。
db.collection('mycollection').find({}, {timeout:false}, function(err, cursor) {
if (!err) {
// Iterate safely on your cursor here
} else {
console.log(err);
}
});