Mongo.UnorderedBulk.update_one

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

update_one(bulk, filter, update, opts \\ [])

View Source

Specs

update_one(t(), BSON.document(), BSON.document(), Keyword.t()) :: t()

Appends a update operation with :multi = false.

Example:

Mongo.UnorderedBulk.update_one(bulk, %{name: "Waldo"}, %{"$set": %{name: "Greta", kind: "dog"}})
%Mongo.UnorderedBulk{
coll: "bulk",
deletes: [],
inserts: [],
updates: [
  {%{name: "Waldo"}, %{"$set": %{kind: "dog", name: "Greta"}}, [multi: false]}
]
}