Clj-DBSpec / CHANGES

Shantanu Kumar 3c84c1d 



Shantanu Kumar c0b6797 
Shantanu Kumar 3c84c1d 
Shantanu Kumar c0b6797 
Shantanu Kumar 1c57773 
Shantanu Kumar d0dbdc5 






Shantanu Kumar c0b6797 
Shantanu Kumar 57b6e75 

Shantanu Kumar e655fa2 
Shantanu Kumar 57b6e75 
Shantanu Kumar 3912a3c 
Shantanu Kumar 57b6e75 
Shantanu Kumar 3912a3c 

Shantanu Kumar 57b6e75 

Shantanu Kumar 2174e41 
Shantanu Kumar 3c84c1d 
Shantanu Kumar fc530e8 
Shantanu Kumar 266fbea 
Shantanu Kumar 474f43e 
Shantanu Kumar fc530e8 

Shantanu Kumar 2174e41 


Shantanu Kumar fc530e8 

Shantanu Kumar 266fbea 



Shantanu Kumar 2174e41 
-*- markdown -*-

# Changes and TODO

* [TODO] More introspection fns


## 0.3 / 2011-Nov-20

* Support for column names collection in `clj-to-db`
* Additional keys in spec
  * :fetch-size     Number of rows to fetch in one DB roundtrip (default 1000)
  * :query-timeout  Query timeout in seconds (depends on JDBC driver and DB)


## 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.