Liking cljdoc? Tell your friends :D

rt.postgres.script.addon


assertclj

(assert chk [tag data])

asserts given a block

asserts given a block
raw docstring

b:deleteclj

(b:delete & args)

delete macro

delete macro
raw docstring

b:insertclj

(b:insert & args)

insert macro

insert macro
raw docstring

b:selectclj

(b:select & args)

basic select macro

basic select macro
raw docstring

b:updateclj

(b:update & args)

update macro

update macro
raw docstring

caseclj

(case & args)

builds a case form

(pg/case 1 2 3 4) => "CASE WHEN 1 THEN 2\nWHEN 3 THEN 4\nEND"

((:template @pg/case) 1 2 3 4) => '(% [:case :when 1 :then 2 \ :when 3 :then 4 \ :end])

builds a case form

(pg/case 1 2 3 4)
=> "CASE WHEN 1 THEN 2\nWHEN 3 THEN 4\nEND"

((:template @pg/case) 1 2 3 4)
=> '(% [:case :when 1 :then 2 \ :when 3 :then 4 \ :end])
raw docstring

client-listclj

(client-list)

gets the client list for pg

gets the client list for pg
raw docstring

do:reduceclj

(do:reduce out f type arr)

basic reduce macro

basic reduce macro
raw docstring

errorclj

(error {:as m})

raises a json error with value

raises a json error with value
raw docstring

field-idclj

(field-id m field)

shorthand for getting the field-id for a linked map

shorthand for getting the field-id for a linked map
raw docstring

map:jsclj

(map:js f arr & args)

basic map across json

basic map across json
raw docstring

map:relclj

(map:rel f rel & args)

basic map across relation

basic map across relation
raw docstring

performclj

(perform & args)

perform macro

perform macro
raw docstring

rand-hexclj

(rand-hex n)

generates random hex

generates random hex
raw docstring

random-enumclj

(random-enum enum)

gets random enum

gets random enum
raw docstring

retclj

(ret & args)

returns a value alias for select

returns a value alias for select
raw docstring

sha1clj

(sha1 text)

calculates the sha1

calculates the sha1
raw docstring

throwclj

(throw {:as m})

raises a json exception

raises a json exception
raw docstring

time-msclj

(time-ms)

returns the time in ms

returns the time in ms
raw docstring

time-usclj

(time-us)

returns the time in us

returns the time in us
raw docstring

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

× close