Liking cljdoc? Tell your friends :D

dais.postgres.query-helpers


*default-time-zone*clj

source

->sql-kwclj

(->sql-kw s)
source

agg-json-objectclj

(agg-json-object kvs)

Produce a JSON array of JSON objects. Takes as argument a clojure map.

Produce a JSON array of JSON objects. Takes as argument a clojure map.
sourceraw docstring

arrayclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

array-aggclj

(array-agg field)
source

as-jsonclj

(as-json clj-val)
source

callclj

imported from honeysql.core

imported from `honeysql.core`
sourceraw docstring

castclj

(cast var enum-type)
source

cast-enumclj

(cast-enum k enum-type)
source

cast-enum-arrayclj

(cast-enum-array arr enum-type)
source

columnsclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

current-dateclj

source

delete-fromclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

do-nothingclj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

do-update-setclj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

do-update-set!clj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

ex!clj

(ex! db
     q-def
     &
     {:keys [params quoting parameterizer return-param-names multi?]
      :or {quoting :ansi parameterizer :jdbc}})
source

fromclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

full-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

group-byclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

havingclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

infix-likeclj

(infix-like s)
source

inlineclj

imported from honeysql.core

imported from `honeysql.core`
sourceraw docstring

insert-intoclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

int-arrayclj

(int-array elements)

Integer array for SQL

Integer array for SQL
sourceraw docstring

joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

json-objectclj

(json-object kvs)

Produce a JSON object. Takes as argument a clojure map.

Produce a JSON object. Takes as argument a clojure map.
sourceraw docstring

left-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

limitclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-fromclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-full-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-group-byclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-havingclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-left-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-order-byclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-right-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-selectclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-valuesclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

merge-whereclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

modifiersclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

offsetclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

on-conflictclj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

order-byclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

prefix-likeclj

(prefix-like s)
source

qclj

(q db
   q-def
   &
   {:keys [params quoting parameterizer return-param-names]
    :or {quoting :ansi parameterizer :jdbc}})
source

q1clj

(q1 & args)

Call q, and take the first row. If the number of returned rows is not one, an error is raised.

Call `q`, and take the first row. If the number of returned rows is not one, an error is raised.
sourceraw docstring

q1?clj

(q1? & args)

Call q, and take the first row. If the number of returned rows is more than one, an error is raised.

Call `q`, and take the first row. If the number of returned rows is more than one, an error is raised.
sourceraw docstring

rawclj

imported from honeysql.core

imported from `honeysql.core`
sourceraw docstring

returningclj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

right-joinclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

selectclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

setclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

updateclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

upsertclj

imported from honeysql-postgres.helpers

imported from `honeysql-postgres.helpers`
sourceraw docstring

valuesclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

whereclj

imported from honeysql.helpers

imported from `honeysql.helpers`
sourceraw docstring

with-conncljmacro

(with-conn binding & body)

Same as `clojure.java.jdbc/with-db-connection

Same as `clojure.java.jdbc/with-db-connection
sourceraw docstring

with-cteclj

(with-cte & args)
source

with-txcljmacro

(with-tx binding & body)

Same as clojure.java.jdbc/with-db-transaction

Same as `clojure.java.jdbc/with-db-transaction`
sourceraw docstring

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

× close