Liking cljdoc? Tell your friends :D

honeysql-postgres.util

Postgres Honeysql utils

Postgres Honeysql utils
raw docstring

comma-join-argsclj/s

(comma-join-args args)

Returns the args comma-joined after applying to-sql to them

Returns the args comma-joined after applying to-sql to them
sourceraw docstring

get-firstclj/s

(get-first x)

Returns the first element if the passed argument is a collection, else return the passed argument as is.

Returns the first element if the passed argument is a collection, else return the passed argument
as is.
sourceraw docstring

prep-checkclj/s

(prep-check args)

Adds a logical :and operation if args has multiple vectors Eg - (prep-check '([:= :a :b])) => [:= :a :b] (prep-check '([:= :a :b] [:< :a :c])) => [:and [:= :a :b] [:< :a :c]]

Adds a logical `:and` operation if args has multiple vectors
Eg - (prep-check '([:= :a :b])) => [:= :a :b]
     (prep-check '([:= :a :b] [:< :a :c])) => [:and [:= :a :b] [:< :a :c]]
sourceraw docstring

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

× close