Trash.Repo.get_kept_by

You're seeing just the function get_kept_by, go back to Trash.Repo module for more information.
Link to this function

get_kept_by(queryable, clauses, opts \\ [], repo)

Specs

get_kept_by(
  queryable :: Ecto.Queryable.t(),
  clauses :: Keyword.t() | map(),
  opts :: Keyword.t(),
  repo :: atom()
) :: Ecto.Schema.t() | nil

Fetches a single kept result from the query.

Returns nil if no result was found or raises Ecto.MultipleResultsError if more than one entry.

Examples

iex> Trash.Repo.get_kept_by(Post, title: "Hello World", [], MyApp.Repo)
%Post{title: "Hello World", discarded_at: nil}