I've made some changes to clojure.contrib.sql:

- Renamed some functions/macros to shorter names:

        get-connection -> connection
        execute-commands -> do-commands
        execute-prepared-statement -> do-prepared
        with-query-results -> with-results

- Added create-table, drop-table

- Fixed a bug in with-connection--a prematurely closed try expression.  
(It looks like this was accidentally harmless through an interaction  
with "with-open".)

- Changed do-commands/do-prepared so they accept a variable number of  
commands/parameter sets (using a '&' argument) rather than an explicit  
sequence.

- moved examples to clojure.contrib.sql.test and updated them to the  
new API.

Comments welcome.

--Steve


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to