Trash.Repo.discarded-question-mark
You're seeing just the function
discarded-question-mark
, go back to Trash.Repo module for more information.
Link to this function
discarded?(queryable, opts \\ [], repo)
Specs
discarded?(queryable :: Ecto.Queryable.t(), opts :: Keyword.t(), repo :: atom()) :: boolean()
Checks if there exists an entry that matches the given query that has been discarded.
Returns a boolean.
Examples
iex> Trash.Repo.discarded?(post, [], MyApp.Repo)
true