FullDocument

io.github.zeal18.zio.mongodb.driver.model.changestream.FullDocument$

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.

Attributes

Note:

Requires MongoDB 3.6 or greater

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def fromString(fullDocument: String): Try[FullDocument]

Returns the FullDocument from the string value.

Returns the FullDocument from the string value.

Attributes

fullDocument

the string value.

Returns:

the read concern

Concrete fields

val DEFAULT: FullDocument

Default

Default

Returns the servers default value in the fullDocument field.

Attributes

val UPDATE_LOOKUP: FullDocument

Lookup

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.

Attributes