dwyl / alog

🌲 alog (Append-only Log) is an easy way to start using the Lambda/Kappa architecture in your Elixir/Phoenix Apps while still using PostgreSQL (with Ecto).
GNU General Public License v2.0
15 stars 2 forks source link

ChildSpec - Ecto.Adapters.SQL.Connection #41

Open Danwhy opened 5 years ago

Danwhy commented 5 years ago

Part of #38

https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:child_spec/1

This should be as simple as returning the Postgrex.child_spec function, though we may need to look into opts to pass it.

If we don't need to do anything special with the opts, this could also be delegated to Ecto.Adapters.Postgres.Connection