Mongo.UnorderedBulk.delete_many

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

Specs

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

Appends a delete operation with :limit = 0.

Example:

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