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

Already on GitHub? Sign in to your account

changed connect to support more options #13

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

matthias-endler commented Jul 4, 2013

No description provided.

Owner

essen commented Jul 5, 2013

Nope. Like I said the other time, we want to have a single connect option for all possible types of connections (not just host:port but also unix sockets, sqlite-like and others). We can't easily identify the connection method if you provide all this separated.

Contributor

matthias-endler commented Jul 5, 2013

Hmmm, I didn't receive a notification of your comment :(

Well then I didn't understand what you meant. Can you give me a hint? Something like this:

mysql://user:secret@localhost:3306/database?option=value&option2=value2

Owner

essen commented Jul 5, 2013

I can't give you a hint because I haven't figured it out yet. More generally I want this gist https://gist.github.com/essen/5841844 to be completed before merges start happening. It still needs return values figured out, various options, missing functions for special DB features and possibly more. There's some survey work to be done with various DBs (mysql/pgsql/sqlite/oracle/mssql/voltdb/...) to make sure the choices we make seem adequate so that we can get most of it right in one go and have few interface changes afterwards.

Owner

essen commented Jul 5, 2013

Don't trash your commit though I'm sure most of it is reusable.

Contributor

matthias-endler commented Jul 5, 2013

No I won't. I have some more stuff. But I want to wait until bank is more stable.

Contributor

matthias-endler commented Jul 5, 2013

It's definately good to do some survey. Maybe we should have a look at stuff already out there for sql databases. Like DBI (Perl), HDBC (Haskell), JDBC (Jave), etc..

Owner

essen commented Jul 5, 2013

That could also be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment