Source

Clj-DBSpec / README.md

Diff from to

README.md

 This var is bound to a map containing well known keys and corresponding values.
 Those keys are:
 
-    :datasource  (javax.sql.DataSource, default: nil)
-                  1. When you rebind this var with :datasource you SHOULD also
-                     include a cached :dbmetadata value.
-                  2. Everytime a connection is taken from the datasource you
-                     SHOULD re-bind this var to include the :connection object.
-    :connection  (java.sql.Connection, default: nil)
-                  1. If the connection is not taken from a datasource you SHOULD
-                     include a cached :dbmetadata value while re-binding.
-    :dbmetadata  (map, default: empty map)
-                  1. This is usually result of dbmeta function.
-    :catalog     (Clojure form - String, Keyword etc.; default nil)
-                  1. Catalog name - SHOULD be converted using db-iden
-    :schema      (Clojure form - String, Keyword etc.; default nil)
-                  1. Schema name - SHOULD be converted using db-iden
-    :read-only   (boolean, default: false)
-                  1. When true, declares that write operations to be disallowed
-    :show-sql    (Booleanl default true)
-                  1. If true, SQL statements should be printed.
-    :show-sql-fn (function, default: fn that prints SQL using `println`)
-                  You may like to rebind this to fn that prints via a logger
+    :datasource    (javax.sql.DataSource, default: nil)
+                    1. When you rebind this var with :datasource you SHOULD also
+                       include a cached :dbmetadata value.
+                    2. Everytime a connection is taken from the datasource you
+                       SHOULD re-bind this var to include the :connection object.
+    :connection    (java.sql.Connection, default: nil)
+                    1. If the connection is not taken from a datasource you SHOULD
+                       include a cached :dbmetadata value while re-binding.
+    :dbmetadata    (map, default: empty map)
+                    1. This is usually result of dbmeta function.
+    :catalog       (Clojure form - String, Keyword etc.; default nil)
+                    1. Catalog name - SHOULD be converted using db-iden
+    :schema        (Clojure form - String, Keyword etc.; default nil)
+                    1. Schema name - SHOULD be converted using db-iden
+    :read-only     (boolean, default: false)
+                    1. When true, declares that write operations to be disallowed
+    :show-sql      (boolean, default true)
+                    1. If true, SQL statements should be printed.
+    :show-sql-fn   (function, default: fn that prints SQL using `println`)
+                    You may like to rebind this to fn that prints via a logger
     :clj-to-db     (function, default: to string, replace '-' => '_')
                     1. Dictates how should identifiers be converted from
                        Clojure to the Database.
 
 ## Reference
 
-Please check The Bitumen Framework Handbook [https://bitbucket.org/kumarshantanu/bituf-handbook/src](https://bitbucket.org/kumarshantanu/bituf-handbook/src)
+Please check The Bitumen Framework Handbook [https://bitbucket.org/kumarshantanu/bituf-handbook/src](https://bitbucket.org/kumarshantanu/bituf-handbook/src)