Mongo.InsertManyResult (Mongodb v1.0.1) 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: boolean(),
  inserted_ids: %{required(non_neg_integer()) => BSON.ObjectId.t()}
}