Skip to content

Add opts to insert() #1

@vitorguimaraes

Description

@vitorguimaraes

Add the accepted options for insert() function, like:
:returning, :prefix, :on_conflict, conflict_target, :stale_error_field and :stale_error_message
https://hexdocs.pm/ecto/Ecto.Repo.html#c:insert/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions