Liking cljdoc? Tell your friends :D

snow.mysql


addclj

(add db table data)

insert data into table, if a sequence of data is given then it is inserted in batch mode then number of inserts are returned. If a single map is passed then you get back the db representation with all columns

insert data into table, if a sequence of data is given then it is inserted in
batch mode then number of inserts are returned. If a single map is passed then
you get back the db representation with all columns
sourceraw docstring

db-specclj

source

execute!clj

(execute! db)
(execute! db sqlmap)
source

get-db-spec-from-envclj

(get-db-spec-from-env & {:keys [config]})

creates a db spec from the environment variables, if the env variables are not found then tries the passed config

creates a db spec from the environment variables,
if the env variables are not found then tries the
passed config
sourceraw docstring

make-vec-if-notclj

source

queryclj

(query db sqlmap)
source

remove-nilclj

(remove-nil map)

remove the key from a map whose value is nil

remove the key from a map whose value is nil
sourceraw docstring

updateclj

(update db table update-map)

update data in table

update data in table
sourceraw docstring

uuidclj

source

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

× close