Installation
Copy Markdown1. Mix dependency
Add collect to your list of dependencies in mix.exs:
def deps do
[
{:collect, "~> 0.1"}
]
end2. Global repo configuration (optional)
Set the default Ecto repo that Collect should be using in the application environment. For example in confix.exs:
config :collect, repo: MyApp.Repo