mongodb-driver v0.5.1 Mongo.InsertManyResult View Source

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

  • :inserted_ids - The ids of the inserted documents indexed by their order

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Mongo.InsertManyResult{
  acknowledged: term(),
  inserted_ids: %{optional(non_neg_integer()) => BSON.ObjectId.t()}
}