View Source Mongo.InsertManyResult (mongodb-driver v1.4.1)

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

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

Summary

Types

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