1. Shantanu Kumar
  2. Clj-DBSpec

Commits

Shantanu Kumar  committed f4a5043

doc changes for identifier conversion keys

  • Participants
  • Parent commits a7e2870
  • Branches default

Comments (0)

Files changed (1)

File src/main/clj/org/bituf/clj_dbspec.clj

View file
  • Ignore whitespace
                      include a cached :dbmetadata value while re-binding.
     :dbmeta      (map, default: empty map)
                   1. This is usually result of dbmeta function.
-    :clj-to-db   (DBIdentSpec, default: to lower-case string, replace '-' => '_')
+    :clj-to-db   (function, default: to string, replace '-' => '_')
                   1. Dictates how are identifiers converted from Clojure to
                      the Database.
                   2. The default value is the least common denominator that
                      works with most databases. Override as necessary.
-    :db-to-clj   (DBIdentSpec, default: to lower-case keyword, replace '_' => '-')
+    :db-to-clj   (function, default: to lower-case keyword, replace '_' => '-')
                   1. Dictates how are identifiers are converted from the
                      Database to Clojure.
                   2. The default value is the least common denominator that