BulkWriteResult
public struct BulkWriteResult : Codable
The result of a bulk write operation on a MongoCollection.
-
Number of documents deleted.
Declaration
Swift
public let deletedCount: Int -
Number of documents inserted.
Declaration
Swift
public let insertedCount: Int -
Map of the index of the operation to the id of the inserted document.
Declaration
Swift
public let insertedIDs: [Int : BSON] -
Number of documents matched for update.
Declaration
Swift
public let matchedCount: Int -
Number of documents modified.
Declaration
Swift
public let modifiedCount: Int -
Number of documents upserted.
Declaration
Swift
public let upsertedCount: Int -
Map of the index of the operation to the id of the upserted document.
Declaration
Swift
public let upsertedIDs: [Int : BSON] -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash
BulkWriteResult Structure Reference