Skip to main content

Module change_event

Module change_event 

Source
Expand description

MongoDB change-event classification and canonical Extended JSON rendering.

Change events stay as raw BSON from the driver until Arrow assembly decodes them once. Operation names are the server’s own operationType strings, so history records never use the engine’s _op changelog vocabulary.

Enums§

ChangeOperation
Semantic class of a change-stream operationType.

Functions§

canonical_document_extjson
Canonical Extended JSON v2 text for one raw document.
canonical_extjson
Canonical Extended JSON v2 text for one BSON value. Canonical form keeps every BSON type distinct (Int32 versus Int64, ObjectId versus string, Decimal128, dates).