MongoX v0.1.3 Mongo.SaveOneResult
The successful result struct of Mongo.save_one/4
. Its fields are:
:matched_count
- Number of matched documents:modified_count
- Number of modified documents:upserted_id
- If the operation was an upsert, the upserted id
Summary
Types
t :: %Mongo.SaveOneResult{matched_count: non_neg_integer, modified_count: non_neg_integer, upserted_id: nil | BSON.ObjectId.t}