diff --git a/docs/Next/classes/ClientSession.html b/docs/Next/classes/ClientSession.html index 4c3b9d35ddf..8cf1fbf84aa 100644 --- a/docs/Next/classes/ClientSession.html +++ b/docs/Next/classes/ClientSession.html @@ -10,45 +10,45 @@
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
The server id associated with this session
-Whether or not this session is configured for snapshot reads
-Advances the clusterTime for a ClientSession to the provided clusterTime of another ClientSession
the $clusterTime returned by the server from another session in the form of a document containing the BSON.Timestamp
clusterTime and signature
Advances the operationTime for a ClientSession.
the BSON.Timestamp
of the operation type it is desired to advance to
Ends this session on the server
-Used to determine if this session equals another
The session to compare to
-whether this session is currently in a transaction or not
-whether this session is currently in a transaction or not
+Increment the transaction number on the internal ServerSession
Starts a new transaction with the given options.
Options for the transaction
-This is here to ensure that ClientSession is never serialized to BSON.
-Runs a provided callback within a transaction, retrying either the commitTransaction operation or entire transaction as needed (and when the error permits) to better ensure that the transaction can complete successfully.
diff --git a/docs/Next/classes/MongoAPIError.html b/docs/Next/classes/MongoAPIError.html index be68a1705a5..88e75128d72 100644 --- a/docs/Next/classes/MongoAPIError.html +++ b/docs/Next/classes/MongoAPIError.html @@ -1,17 +1,17 @@An error generated when the driver API is used incorrectly
This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoAWSError.html b/docs/Next/classes/MongoAWSError.html index b0004eb2c83..6f6112cc3a0 100644 --- a/docs/Next/classes/MongoAWSError.html +++ b/docs/Next/classes/MongoAWSError.html @@ -1,17 +1,17 @@A error generated when the user attempts to authenticate via AWS, but fails
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoBatchReExecutionError.html b/docs/Next/classes/MongoBatchReExecutionError.html index cd809f0e6ea..49c322c773e 100644 --- a/docs/Next/classes/MongoBatchReExecutionError.html +++ b/docs/Next/classes/MongoBatchReExecutionError.html @@ -1,17 +1,17 @@An error generated when a batch command is re-executed after one of the commands in the batch has failed
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoBulkWriteError.html b/docs/Next/classes/MongoBulkWriteError.html index 182e7d53a5c..f58c4fad9d9 100644 --- a/docs/Next/classes/MongoBulkWriteError.html +++ b/docs/Next/classes/MongoBulkWriteError.html @@ -2,19 +2,19 @@An error indicating an unsuccessful Bulk Write
Creates a new MongoBulkWriteError
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Number of documents deleted.
-Legacy name for server error responses
-Number of documents inserted.
Inserted document generated Id's, hash key is the index of the originating operation
@@ -26,7 +26,7 @@Number of documents upserted.
Upserted document generated Id's, hash key is the index of the originating operation
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoChangeStreamError.html b/docs/Next/classes/MongoChangeStreamError.html index 5842108d6a5..4fc5be507ba 100644 --- a/docs/Next/classes/MongoChangeStreamError.html +++ b/docs/Next/classes/MongoChangeStreamError.html @@ -1,16 +1,16 @@An error generated when a ChangeStream operation fails to execute.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoClient.html b/docs/Next/classes/MongoClient.html index 4db0a7f422e..a8c84546c5e 100644 --- a/docs/Next/classes/MongoClient.html +++ b/docs/Next/classes/MongoClient.html @@ -3,7 +3,7 @@Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
@@ -12,25 +12,25 @@
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
Connect to MongoDB using a url
Return the mongo client logger
-Starts a new session on the server
-Create a new Change Stream, watching for new changes (insertions, updates, replacements, deletions, and invalidations) in this cluster. Will ignore all changes to system collections, as well as the local, admin, and config databases.
@@ -47,18 +47,18 @@An array of aggregation pipeline stages through which to pass change stream documents. This allows for filtering (using $match) and manipulating the change stream documents.
Optional settings for the command
-Runs a given operation with an implicitly created session. The lifetime of the session will be handled without the need for user interaction.
NOTE: presently the operation MUST return a Promise (either explicit or implicitly as an async function)
An callback to execute with an implicitly created session
-Connect to MongoDB using a url
Returns a copy of the array of listeners for the event named eventName
.
For EventEmitter
s this behaves exactly the same as calling .listeners
on
diff --git a/docs/Next/classes/MongoCompatibilityError.html b/docs/Next/classes/MongoCompatibilityError.html
index 5070cb337f2..ab1b66b8e1e 100644
--- a/docs/Next/classes/MongoCompatibilityError.html
+++ b/docs/Next/classes/MongoCompatibilityError.html
@@ -1,17 +1,17 @@
An error generated when a feature that is not enabled or allowed for the current server configuration is used
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoCursorExhaustedError.html b/docs/Next/classes/MongoCursorExhaustedError.html index 101c285d7a3..3ad86c86959 100644 --- a/docs/Next/classes/MongoCursorExhaustedError.html +++ b/docs/Next/classes/MongoCursorExhaustedError.html @@ -1,16 +1,16 @@An error thrown when an attempt is made to read from a cursor that has been exhausted
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoCursorInUseError.html b/docs/Next/classes/MongoCursorInUseError.html index a7bc9c423ac..6ed139d8038 100644 --- a/docs/Next/classes/MongoCursorInUseError.html +++ b/docs/Next/classes/MongoCursorInUseError.html @@ -1,17 +1,17 @@An error thrown when the user attempts to add options to a cursor that has already been initialized
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoDecompressionError.html b/docs/Next/classes/MongoDecompressionError.html index 398437999af..71c52919e74 100644 --- a/docs/Next/classes/MongoDecompressionError.html +++ b/docs/Next/classes/MongoDecompressionError.html @@ -1,17 +1,17 @@An error generated when the driver fails to decompress data received from the server.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoDriverError.html b/docs/Next/classes/MongoDriverError.html index 53a88410935..ae867c7ddc9 100644 --- a/docs/Next/classes/MongoDriverError.html +++ b/docs/Next/classes/MongoDriverError.html @@ -1,16 +1,16 @@An error generated by the driver
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoError.html b/docs/Next/classes/MongoError.html index 06dbb9e7c94..2e12d74e410 100644 --- a/docs/Next/classes/MongoError.html +++ b/docs/Next/classes/MongoError.html @@ -1,13 +1,13 @@This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoExpiredSessionError.html b/docs/Next/classes/MongoExpiredSessionError.html index 5b1cb3b5013..e51256416ac 100644 --- a/docs/Next/classes/MongoExpiredSessionError.html +++ b/docs/Next/classes/MongoExpiredSessionError.html @@ -1,15 +1,15 @@An error generated when the user attempts to operate on a session that has expired or has been closed.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoGridFSChunkError.html b/docs/Next/classes/MongoGridFSChunkError.html index 4a96e6e90ca..b4c07677051 100644 --- a/docs/Next/classes/MongoGridFSChunkError.html +++ b/docs/Next/classes/MongoGridFSChunkError.html @@ -1,17 +1,17 @@An error generated when a malformed or invalid chunk is encountered when reading from a GridFSStream.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoGridFSStreamError.html b/docs/Next/classes/MongoGridFSStreamError.html index 1e38fbe18eb..1ddc0b3c60d 100644 --- a/docs/Next/classes/MongoGridFSStreamError.html +++ b/docs/Next/classes/MongoGridFSStreamError.html @@ -1,16 +1,16 @@An error generated when a GridFSStream operation fails to execute.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoInvalidArgumentError.html b/docs/Next/classes/MongoInvalidArgumentError.html index a5b5241b74f..04bdc5e6a39 100644 --- a/docs/Next/classes/MongoInvalidArgumentError.html +++ b/docs/Next/classes/MongoInvalidArgumentError.html @@ -1,15 +1,15 @@An error generated when the user supplies malformed or unexpected arguments or when a required argument or field is not provided.
-This is a number in MongoServerError and a string in MongoDriverError
Optional override for formatting stack traces
Legacy name for server error responses
-Checks the error to see if it has an error label
The error label to check for
diff --git a/docs/Next/classes/MongoKerberosError.html b/docs/Next/classes/MongoKerberosError.html index d6ed4aad585..dc160599306 100644 --- a/docs/Next/classes/MongoKerberosError.html +++ b/docs/Next/classes/MongoKerberosError.html @@ -1,17 +1,17 @@