Mongo.Ecto.truncate

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

truncate(repo, opts \\ [])

View Source

Specs

truncate(Ecto.Repo.t(), Keyword.t()) :: [String.t()]

Drops all the collections in current database.

Skips system collections and schema_migrations collection. Especially useful in testing.

Returns list of dropped collections.