diff --git a/source/reference/command/delete.txt b/source/reference/command/delete.txt index 5f034783b0d..d5abb779caa 100644 --- a/source/reference/command/delete.txt +++ b/source/reference/command/delete.txt @@ -43,6 +43,7 @@ Definition ], ordered: , writeConcern: { }, + maxTimeMS: , let: // Added in MongoDB 5.0 } @@ -114,6 +115,15 @@ Definition .. versionadded:: 4.4 + * - ``maxTimeMS`` + + - positive integer + + - Optional. The cumulative time limit in milliseconds for processing operations on + the cursor. MongoDB aborts the operation at the earliest following + :term:`interrupt point`. + + *Supported on mongos since MongoDB 5.0, only supported on mongod in previous versions. * - :ref:`let ` diff --git a/source/reference/command/insert.txt b/source/reference/command/insert.txt index ed2f154b96d..6aadf403ae0 100644 --- a/source/reference/command/insert.txt +++ b/source/reference/command/insert.txt @@ -29,7 +29,8 @@ Definition ordered: , writeConcern: { }, bypassDocumentValidation: , - comment: + comment: , + maxTimeMS: } The :dbcommand:`insert` command takes the following fields: @@ -103,6 +104,15 @@ Definition .. versionadded:: 4.4 + * - ``maxTimeMS`` + + - positive integer + + - Optional. The cumulative time limit in milliseconds for processing operations on + the cursor. MongoDB aborts the operation at the earliest following + :term:`interrupt point`. + + *Supported on mongos since MongoDB 5.0, only supported on mongod in previous versions. :returns: diff --git a/source/reference/command/update.txt b/source/reference/command/update.txt index 9d32e6786bd..43ae88df1e5 100644 --- a/source/reference/command/update.txt +++ b/source/reference/command/update.txt @@ -59,6 +59,7 @@ The :dbcommand:`update` command has the following syntax: writeConcern: { }, bypassDocumentValidation: , comment: , + maxTimeMS: , let: // Added in MongoDB 5.0 } ) @@ -139,6 +140,15 @@ The command takes the following fields: .. versionadded:: 4.4 + * - ``maxTimeMS`` + + - positive integer + + - Optional. The cumulative time limit in milliseconds for processing operations on + the cursor. MongoDB aborts the operation at the earliest following + :term:`interrupt point`. + + *Supported on mongos since MongoDB 5.0, only supported on mongod in previous versions. * - :ref:`let `