ecto
ecto copied to clipboard
Doc should specify get and get_by raise if more than one entry
Environment
- Elixir version (elixir -v): 1.5.1
- Ecto version (mix deps): 2.2.7
Expected behavior
Hi,
I think the documentation of both methods get and get_by should specify they can raises if more than one entry is found like with one.
Regards.
Agreed. PR please?