fullDocument property

String? fullDocument
getter/setter pair

By default, the change stream returns the delta of those fields modified by an update operation, instead of the entire updated document.

Set fullDocument to "updateLookup" to direct changeStream to look up the most current majority-committed version of the updated document. The Change Stream returns a fullDocument field with the document lookup in addition to the updateDescription delta.

Implementation

String? fullDocument;