mongodb-driver v0.6.5 Mongo.InsertOneResult 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

Link to this type

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