Mongo.UnorderedBulk.insert_one

You're seeing just the function insert_one, go back to Mongo.UnorderedBulk module for more information.

Specs

insert_one(t(), BSON.document()) :: t()

Appends an insert operation.

Example:

Mongo.UnorderedBulk.insert_one(bulk, %{name: "Waldo"})
%Mongo.UnorderedBulk{
coll: "bulk",
deletes: [],
inserts: [%{name: "Waldo"}],
updates: []
}