-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(FindCursor): fluent builder for allowDiskUse option #2678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
590e4b7
9dfe111
3caf3be
26dbc76
1fb0aae
cd52f70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ export interface FindOptions extends CommandOperationOptions { | |
noCursorTimeout?: boolean; | ||
/** Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields). */ | ||
collation?: CollationOptions; | ||
/** Enables writing to temporary files on the server. */ | ||
/** Allows disk use for blocking sort operations exceeding 100MB memory. */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if this might be a good opportunity to experiment with improving these docs even more by linking to them: https://docs.mongodb.com/manual/reference/command/find/#find-cmd-allowdiskuse Also, does typedoc support any way of marking an option supported since a certain MongoDB version? It would be cool to use jsdoc's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
allowDiskUse?: boolean; | ||
/** Determines whether to close the cursor after the first batch. Defaults to false. */ | ||
singleBatch?: boolean; | ||
|
Uh oh!
There was an error while loading. Please reload this page.