There was an error while loading. Please reload this page.
1 parent 0ae5ea2 commit 0e49033Copy full SHA for 0e49033
lib/mongodb/cursor.js
@@ -179,10 +179,7 @@ Cursor.prototype.fetchAllRecords = function(callback) {
179
180
if(self.state == Cursor.INIT) {
181
var queryCommand = self.generateQueryCommand();
182
- //GLOBAL.time = Date.now();
183
- //inspect('execute'+(Date.now()-time));
184
self.db.executeCommand(queryCommand, function(err, result) {
185
- //inspect('executed'+(Date.now()-time));
186
var numberReturned = result.numberReturned;
187
// Check if we need to fetch the count
188
if(self.limitValue > 0 && self.limitValue > numberReturned) {
0 commit comments