ecto icon indicating copy to clipboard operation
ecto copied to clipboard

Doc should specify get and get_by raise if more than one entry

Open denneulin opened this issue 8 years ago • 1 comments

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.

denneulin avatar Dec 20 '17 13:12 denneulin

Agreed. PR please?

michalmuskala avatar Dec 20 '17 14:12 michalmuskala