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

sqerl is singleton (database configuration), no multi-databse support #15

Open
andrzejsliwa opened this issue Sep 11, 2012 · 1 comment

Comments

@andrzejsliwa
Copy link

I understand squerl as database access layer, but sqerl allow only to open one database, there is no way to open few databases by different OTP apps.

for example:

app1 using database1
app2 using database2

would be great to extend it to handle it ... as long we could make one release with many independent applications/services with independent database configurations.

I have exactly like this scenario...

@seth
Copy link
Contributor

seth commented Sep 11, 2012

You are right that sqerl only supports a single database at present. Extending sqerl to support this scenario is something we'd like to see. If you have a sketch of how you'd like it to work, feel free to add some notes to this issue. I think the high-level change is to add an argument to the sqerl functions to specify the database pool name.

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

No branches or pull requests

2 participants