Source

Clj-DBSpec / CHANGES

Full commit
-*- markdown -*-

# Changes and TODO

* [TODO] More introspection fns


## 0.2 / 2011-Apr-01

* Default spec as a static var `default-dbspec`
* Convenience macros/functions for context-free resources
* Additional keys in spec
  * :read-only    boolean (that ensures DB writes can be controlled)
  * :show-sql-fn  fn (that prints out the SQL)
* Introduce WriteNotAllowedException for situations when write-operations cannot
  be executed


## 0.1 / 2011-Mar-06

* Clojure 1.3 compatibility
* Dynamic var for dbspec containing the following keys
  * :datasource
  * :connection
  * :dbmetadata
  * :catalog
  * :schema
  * :show-sql
  * :clj-to-db
  * :db-to-clj
* Function to build Connection from supplied parameters
* Macro to extract Connection from DataSource and execute body in context
* Convenience function for converting Clojure to database name
* Convenience function for converting database to Clojure name
* Alternative function for clojure.core/resultset-seq: row-seq
* Schema/tables/columns discovery functions