Trash.Test.Repo.get_kept_by

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

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

Specs

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

Fetches a single kept result from the query.

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

Examples

iex> MyRepo.get_kept_by(Post, title: "Hello World")
%Post{title: "Hello World", discarded_at: nil}