FullDocument

public enum FullDocument : RawRepresentable, Codable

Describes the modes for configuring the fullDocument field of a change stream document.

  • Specifies that the fullDocument field of an update event will contain a copy of the entire document that was changed from some time after the change occurred. If the document was deleted since the updated happened, it will be nil.

    Declaration

    Swift

    case updateLookup
  • For an unknown value. For forwards compatibility, no error will be thrown when an unknown value is provided.

    Declaration

    Swift

    case other(String)
  • Declaration

    Swift

    public var rawValue: String { get }
  • Declaration

    Swift

    public init?(rawValue: String)