Liking cljdoc? Tell your friends :D

district.server.db


*transform-result-keys-fn*cljs

source

allcljs

(all sql-map)
source

dbcljs

source

getcljs

(get sql-map)
source

order-by-similaritycljs

(order-by-similarity col-name s & [{:keys [:suffix :prefix]}])
source

run!cljs

(run! sql-map)
source

Sqlite3Databasecljs

source

startcljs

(start {:keys [:path :opts :transform-result-keys-fn :sql-name-transform-fn]
        :or {path "db.db"
             opts {:memory true}
             sql-name-transform-fn
               (comp (fn* [p1__7552#] (string/replace p1__7552# "_STAR_" "*"))
                     (fn* [p1__7553#]
                          (string/replace p1__7553# "_PERCENT_" "%"))
                     munge)
             transform-result-keys-fn (comp keyword demunge)}})
source

stopcljs

(stop db)
source

total-countcljs

(total-count sql-map & [opts])
source

total-count-querycljs

(total-count-query sql-map
                   &
                   [{:keys [:count-distinct-column :count-select]
                     :or {count-select [:%count.*]}}])
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close