Trash.Repo.all_discarded
You're seeing just the function
all_discarded
, go back to Trash.Repo module for more information.
Link to this function
all_discarded(queryable, opts \\ [], repo)
Specs
all_discarded( queryable :: Ecto.Queryable.t(), opts :: Keyword.t(), repo :: atom() ) :: [Ecto.Schema.t()]
Fetches all entries matching the given query that have been discarded.
Examples
iex> Trash.Repo.all_discarded(Post, [], MyApp.Repo)
[%Post{title: "Hello World", discarded_at: %DateTime{}, discarded?: nil}]