The consolidate, parsed, transformed and merged options.
Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
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.
Intended for APM use only
Intended for APM use only
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.
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 list listener for a specific emitter event name.
Generated using TypeDoc
The MongoClient class is a class that allows for making Connections to MongoDB.
The programmatically provided options take precedence over the URI options.