package changestream
- Alphabetic
- By Inheritance
- changestream
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ChangeStreamDocument[T] = com.mongodb.client.model.changestream.ChangeStreamDocument[T]
Represents the
$changeStream
aggregation output document.Represents the
$changeStream
aggregation output document.Note: this class will not be applicable for all change stream outputs. If using custom pipelines that radically change the change stream result, then an alternative document format should be used.
- type FullDocument = com.mongodb.client.model.changestream.FullDocument
Change Stream fullDocument configuration.
- type FullDocumentBeforeChange = com.mongodb.client.model.changestream.FullDocumentBeforeChange
Change Stream fullDocumentBeforeChange configuration.
Value Members
- object F
- object FullDocument
Change Stream fullDocument configuration.
Change Stream fullDocument configuration.
Determines what to return for update operations when using a Change Stream. Defaults to FullDocument.DEFAULT. When set to FullDocument.UPDATE_LOOKUP, the change stream for partial updates will include both a delta describing the changes to the document as well as a copy of the entire document that was changed from *some time<*> after the change occurred.
- Since
2.4
- Note
Requires MongoDB 3.6 or greater
- object FullDocumentBeforeChange
Change Stream fullDocumentBeforeChange configuration.
Change Stream fullDocumentBeforeChange configuration.
Determines what to return for update operations when using a Change Stream. Defaults to FullDocumentBeforeChange#DEFAULT.
- Since
4.7
- Note
Requires MongoDB 6.0 or greater
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: