Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for using a connection string. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nysosis
Copy link

@Nysosis Nysosis commented Nov 1, 2016

I've found that some cloud-based PaaS app hosters (e.g. Heroku) will give you a connection string in your environment variables to use to connect to your psql database, as opposed to explicit username/password variables, in order to be able to easily use this library on apps which are hosted on those sorts of cloud services I've extended the storage to be able to consume either the original connection object, or a connection string.

I've extended the tests to run to tests on both the existing config object method, and the new connection string method.

Extended test run to test both existing config object, and connection string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants