Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions source/reference/command/delete.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Definition
],
ordered: <boolean>,
writeConcern: { <write concern> },
maxTimeMS: <int>,
let: <document> // Added in MongoDB 5.0
}

Expand Down Expand Up @@ -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 <delete-let-syntax>`

Expand Down
12 changes: 11 additions & 1 deletion source/reference/command/insert.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Definition
ordered: <boolean>,
writeConcern: { <write concern> },
bypassDocumentValidation: <boolean>,
comment: <any>
comment: <any>,
maxTimeMS: <int>
}

The :dbcommand:`insert` command takes the following fields:
Expand Down Expand Up @@ -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:

Expand Down
10 changes: 10 additions & 0 deletions source/reference/command/update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The :dbcommand:`update` command has the following syntax:
writeConcern: { <write concern> },
bypassDocumentValidation: <boolean>,
comment: <any>,
maxTimeMS: <int>,
let: <document> // Added in MongoDB 5.0
}
)
Expand Down Expand Up @@ -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 <update-let-syntax>`

Expand Down