Skip to content

Commit

Permalink
docs(NODE-5933): remove find-and-modify warning about defaults (#3995)
Browse files Browse the repository at this point in the history
Co-authored-by: Durran Jordan <[email protected]>
  • Loading branch information
I3uckwheat and durran authored Feb 19, 2024
1 parent 10a5c5a commit 90cb6fa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/operations/find_and_modify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ export interface FindOneAndReplaceOptions extends CommandOperationOptions {
/** Map of parameter names and values that can be accessed using $$var (requires MongoDB 5.0). */
let?: Document;
/**
* Return the ModifyResult instead of the modified document. Defaults to true
* but will default to false in the next major version.
* Return the ModifyResult instead of the modified document. Defaults to false
*/
includeResultMetadata?: boolean;
}
Expand All @@ -77,8 +76,7 @@ export interface FindOneAndUpdateOptions extends CommandOperationOptions {
/** Map of parameter names and values that can be accessed using $$var (requires MongoDB 5.0). */
let?: Document;
/**
* Return the ModifyResult instead of the modified document. Defaults to true
* but will default to false in the next major version.
* Return the ModifyResult instead of the modified document. Defaults to false
*/
includeResultMetadata?: boolean;
}
Expand Down

0 comments on commit 90cb6fa

Please sign in to comment.