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