Mongo::ChangeStream::Document::UpdateDescription
Inherits BSON::Serializable / Struct / Value / Object
Constructors
Class methods
Instance methods
to_bson(bson = BSON.new)
Converts to a BSON representation.
user = User.new name: "John"
bson = user.to_bson
updated_fields
A document containing key:value pairs of names of the fields that were changed, and the new value for those fields.