Liking cljdoc? Tell your friends :D

framework.db.sql


->sql-paramsclj

(->sql-params sql-map)

Parse sql-map using honeysql format function with pre-defined options that target postgresql.

Parse sql-map using honeysql format function with pre-defined
options that target postgresql.
sourceraw docstring

build-clausecljmultimethod

Create build clause multimethod with associated dispatch function: (honeysql-postgres.helpers args).

Create build clause multimethod with associated
dispatch function: (honeysql-postgres.helpers args).
sourceraw docstring

callclj

(call name & args)

Represents a SQL function call. Name should be a keyword.

Represents a SQL function call. Name should be a keyword.
sourceraw docstring

create-tableclj

(create-table table-name)
(create-table table-name opts)

Create table specified by its name on the database.

Create table specified by its name on the database.
sourceraw docstring

cross-joinclj

(cross-join & clauses)
(cross-join m & clauses)
source

drop-tableclj

(drop-table table-name)
(drop-table table-name opts)

Delete table.

Delete table.
sourceraw docstring

executeclj

(execute datasource sql-map)

Get connection, parse the given sql-map (query) and execute it using jdbc/execute!. If some error/exceptions occurs returns an empty map.

Get connection, parse the given sql-map (query) and
execute it using `jdbc/execute!`.
If some error/exceptions occurs returns an empty map.
sourceraw docstring

execute!clj

(execute! datasource sql-vec)

Get connection and execute query using jdbc/execute!. If some error/exceptions occurs returns an empty map.

Get connection and execute query using `jdbc/execute!`.
If some error/exceptions occurs returns an empty map.
sourceraw docstring

fromclj

(from & tables)
(from m & tables)
source

full-joinclj

(full-join & clauses)
(full-join m & clauses)
source

joinclj

(join & clauses)
(join m & clauses)
source

left-joinclj

(left-join & clauses)
(left-join m & clauses)
source

limitclj

(limit & l)
(limit m & l)
source

lockclj

(lock & lock)
(lock m & lock)
source

merge-fromclj

(merge-from & tables)
(merge-from m & tables)
source

merge-full-joinclj

(merge-full-join & clauses)
(merge-full-join m & clauses)
source

merge-group-byclj

(merge-group-by & fields)
(merge-group-by m & fields)
source

merge-joinclj

(merge-join & clauses)
(merge-join m & clauses)
source

merge-left-joinclj

(merge-left-join & clauses)
(merge-left-join m & clauses)
source

merge-order-byclj

(merge-order-by & fields)
(merge-order-by m & fields)
source

merge-right-joinclj

(merge-right-join & clauses)
(merge-right-join m & clauses)
source

merge-selectclj

(merge-select & fields)
(merge-select m & fields)
source

modifiersclj

(modifiers & ms)
(modifiers m & ms)
source

offsetclj

(offset & o)
(offset m & o)
source

order-byclj

(order-by & fields)
(order-by m & fields)
source

selectclj

(select & fields)
(select m & fields)
source

un-selectclj

(un-select & fields)
(un-select m & fields)
source

whereclj

(where & args)
source

with-columnsclj

(with-columns m rows)

Dispatch database operation with columns arguments.

Dispatch database operation with columns arguments.
sourceraw docstring

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

× close