Mongo.BulkWriteResult (mongodb-driver v0.7.4) View Source
The successful result struct of Mongo.BulkWrite.write. Its fields are:
:acknowledged- Write-concern:matched_count- Number of matched documents:modified_count- Number of modified documents:inserted_count- Number of inserted documents:deleted_count- Number of deleted documents:upserted_count- Number of upserted documents:upserted_ids- If the operation was an upsert, the upserted ids:inserted_ids- If the operation was an insert, the inserted ids:errors- If the operation results in an error, the error is collected
Link to this section Summary
Link to this section Types
Specs
t() :: %Mongo.BulkWriteResult{
acknowledged: boolean(),
deleted_count: non_neg_integer(),
errors: [Map.t()],
inserted_count: non_neg_integer(),
inserted_ids: [BSON.ObjectId.t()],
matched_count: non_neg_integer(),
modified_count: non_neg_integer(),
upserted_count: non_neg_integer(),
upserted_ids: [BSON.ObjectId.t()]
}
Link to this section Functions
Link to this function