Mongo.FindAndModifyResult (Mongodb v1.0.0) View Source

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.

Link to this section Summary

Link to this section Types

Specs

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