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