Trash.Test.Repo.all_kept
You're seeing just the function
all_kept
, go back to Trash.Test.Repo module for more information.
Link to this function
all_kept(queryable, opts \\ [])
Specs
all_kept(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_kept(Post)
[%Post{title: "Hello World", discarded_at: nil, discarded?: nil}]