Skip to content

Commit

Permalink
Repo: Reference correct function in insert/2 upsert docs (#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
xtian authored and michalmuskala committed Jan 14, 2017
1 parent 8e5f5d6 commit acf8016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/repo.ex
Expand Up @@ -686,7 +686,7 @@ defmodule Ecto.Repo do
## Upserts
`insert_all` provides upserts (update or inserts) via the `:on_conflict`
`insert` provides upserts (update or inserts) via the `:on_conflict`
option. The `:on_conflict` option supports the following values:
* `:raise` - raises if there is a conflicting primary key or unique index
Expand Down

0 comments on commit acf8016

Please sign in to comment.