Endon.find_by
You're seeing just the function
find_by
, go back to Endon module for more information.
Specs
find_by(where_conditions(), keyword()) :: Ecto.Schema.t() | nil
Find a single record based on given conditions.
If a record can't be found, then nil
is returned.
Options
:preload
- A list of fields to preload, much likeEcto.Repo.preload/3