Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
This small patch allows an :external key in a db-spec map, to allow the use of existing database connection.
Among other benefits, this would make it trivial to use a Proxool db connection-pool with c.c.sql.
(Suggestions for alternative key-names are welcome. Maybe :instance or :connection-object would be more clear?)
Converted from http://www.assembla.com/spaces/clojure/tickets/50
Attachments:
c-c-sql-external-key.patch - https://www.assembla.com/spaces/clojure/documents/bsf2Y-5NCr3QaYeJe5afGb/download/bsf2Y-5NCr3QaYeJe5afGb
ticket-50-scg-1.diff - https://www.assembla.com/spaces/clojure/documents/d4S8n-6m8r3PaPeJe5aVNr/download/d4S8n-6m8r3PaPeJe5aVNr