Mongo.InsertOneResult (Mongodb v1.0.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: boolean(),
  inserted_id: nil | BSON.ObjectId.t()
}