RemoteUpdateResult

public struct RemoteUpdateResult : Decodable

The result of an updateOne or updateMany operation a RemoteMongoCollection.

  • The number of documents that matched the filter.

    Declaration

    Swift

    public let matchedCount: Int
  • The number of documents modified.

    Declaration

    Swift

    public let modifiedCount: Int
  • The identifier of the inserted document if an upsert took place.

    Declaration

    Swift

    public let upsertedId: BSONValue?