UpdateDescription
public struct UpdateDescription : Codable
An UpdateDescription
containing fields that will be present in the change stream document for
operations of type update
.
-
A document containing key:value pairs of names of the fields that were changed, and the new value for those fields.
Declaration
Swift
public let updatedFields: BSONDocument
-
An array of field names that were removed from the document.
Declaration
Swift
public let removedFields: [String]