Mongo.InsertOneResult (mongodb-driver v1.4.0) View Source

The successful result struct of Mongo.insert_one/4. Its fields are:

  • :inserted_id - The id of the inserted document

Link to this section Summary

Link to this section Types

Specs

t() :: %Mongo.InsertOneResult{
  acknowledged: term(),
  inserted_id: nil | BSON.ObjectId.t()
}