From 90cb6fa26a51ca40c7a81ba90064351e812f21a3 Mon Sep 17 00:00:00 2001 From: Briggs Elsperger Date: Mon, 19 Feb 2024 10:01:32 -0600 Subject: [PATCH] docs(NODE-5933): remove find-and-modify warning about defaults (#3995) Co-authored-by: Durran Jordan --- src/operations/find_and_modify.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/operations/find_and_modify.ts b/src/operations/find_and_modify.ts index fe851da0fb..68abe51a7e 100644 --- a/src/operations/find_and_modify.ts +++ b/src/operations/find_and_modify.ts @@ -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; } @@ -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; }