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