Mongo.Repo.delete_all

You're seeing just the callback delete_all, go back to Mongo.Repo module for more information.
Link to this callback

delete_all(module, filter, opts)

View Source (optional)

Specs

delete_all(module :: module(), filter :: BSON.document(), opts :: Keyword.t()) ::
  {:ok, Mongo.DeleteResult.t()}

Deletes all documents for the given collection module and filter.

For all options see Options

Example

MyApp.Repo.delete_all(Post, %{})
MyApp.Repo.delete_all(Post, %{title: "todelete"})