View Source Mongo.FindAndModifyResult (mongodb-driver v1.5.0)

The successful result struct of Mongo.find_one_and_* functions, which under the hood use Mongo's findAndModify API.

See https://docs.mongodb.com/manual/reference/command/findAndModify/ for more information.

Summary

Types

@type t() :: %Mongo.FindAndModifyResult{
  matched_count: non_neg_integer(),
  updated_existing: boolean(),
  upserted_id: String.t(),
  value: BSON.document()
}