Skip to content

Commit 7bd839b

Browse files
vkarpov15mbroadst
authored andcommitted
fix(collection): allow passing noCursorTimeout as an option to find()
1 parent 129d540 commit 7bd839b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/collection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3371,6 +3371,7 @@ var testForFields = {
33713371
, numberOfRetries: 1, awaitdata: 1, awaitData: 1, exhaust: 1, batchSize: 1, returnKey: 1, maxScan: 1, min: 1, max: 1, showDiskLoc: 1
33723372
, comment: 1, raw: 1, readPreference: 1, partial: 1, read: 1, dbName: 1, oplogReplay: 1, connection: 1, maxTimeMS: 1, transforms: 1
33733373
, collation: 1
3374+
, noCursorTimeout: 1
33743375
}
33753376

33763377
module.exports = Collection;

0 commit comments

Comments
 (0)