erleans / pgo

Erlang Postgres client and connection pool
Apache License 2.0
80 stars 16 forks source link

Have database_url as a configuration option when starting pgo. #34

Open CrowdHailer opened 4 years ago

CrowdHailer commented 4 years ago

In place of specifying user/password/host/port/db it would be great if you could pass in url as an argument to pgo:start_pool and pgo_pool:start_link

Not sure if database_url or just url is a better key. I lean towards just url as the answer.