LauJensen / clojureql

ClojureQL is superior SQL integration for Clojure
https://clojureql.sabrecms.com
Eclipse Public License 1.0
285 stars 39 forks source link

Adding a default database connection with open-global #41

Closed budu closed 13 years ago

budu commented 13 years ago

I was thinking about having open-global changed to be able to call it with only a connection as argument. This connection would be considered the default database connection to fall back to if none is given elsewhere. If you think it's good idea I could provide an implementation.

P.S.: On a related note, open-global calls its key argument id, while close-global calls it conn-name. It would be better to have both functions use the same symbol, which one do you prefer?

budu commented 13 years ago

I'll post another issue on some deeper connectivity improvements soon.