Mongo.InsertManyResult (mongodb-driver v1.4.0) 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

Specs

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