Skip to content

Commit 90cb6fa

Browse files
I3uckwheatdurran
andauthored
docs(NODE-5933): remove find-and-modify warning about defaults (#3995)
Co-authored-by: Durran Jordan <[email protected]>
1 parent 10a5c5a commit 90cb6fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/operations/find_and_modify.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export interface FindOneAndReplaceOptions extends CommandOperationOptions {
5252
/** Map of parameter names and values that can be accessed using $$var (requires MongoDB 5.0). */
5353
let?: Document;
5454
/**
55-
* Return the ModifyResult instead of the modified document. Defaults to true
56-
* but will default to false in the next major version.
55+
* Return the ModifyResult instead of the modified document. Defaults to false
5756
*/
5857
includeResultMetadata?: boolean;
5958
}
@@ -77,8 +76,7 @@ export interface FindOneAndUpdateOptions extends CommandOperationOptions {
7776
/** Map of parameter names and values that can be accessed using $$var (requires MongoDB 5.0). */
7877
let?: Document;
7978
/**
80-
* Return the ModifyResult instead of the modified document. Defaults to true
81-
* but will default to false in the next major version.
79+
* Return the ModifyResult instead of the modified document. Defaults to false
8280
*/
8381
includeResultMetadata?: boolean;
8482
}

0 commit comments

Comments
 (0)