Liking cljdoc? Tell your friends :D

suricatta.dsl

Sql building dsl

Sql building dsl
raw docstring

*datatypes*clj

Datatypes translation map

Datatypes translation map
sourceraw docstring

add-columncljmultimethod

source

alter-columnclj

(alter-column step name & [{:keys [type default null length] :as opts}])
source

alter-sequenceclj

(alter-sequence seqname restart)
source

alter-tableclj

(alter-table name)

Creates new and empty alter table expression.

Creates new and empty alter table expression.
sourceraw docstring

andclj

(and & conditions)

Logican operator and.

Logican operator `and`.
sourceraw docstring

create-indexclj

(create-index indexname)
source

create-sequenceclj

(create-sequence seqname)
source

create-tableclj

(create-table name)
source

cross-joinclj

(cross-join step tlike)
source

deleteclj

(delete t)
source

drop-columnclj

(drop-column step name & [type])

Drop column from alter table step.

Drop column from alter table step.
sourceraw docstring

drop-indexclj

(drop-index indexname)
source

drop-sequenceclj

(drop-sequence seqname)
(drop-sequence seqname ifexists)
source

drop-tableclj

(drop-table t)

Drop table statement constructor.

Drop table statement constructor.
sourceraw docstring

existsclj

(exists q)

Create an exists condition.

Create an exists condition.
sourceraw docstring

fclj

(f v)

Create a field instance, specialized on create function like field instance.

Create a field instance, specialized on
create function like field instance.
sourceraw docstring

fieldclj

(field v)
(field v alias)

Create a field instance.

Create a field instance.
sourceraw docstring

for-updateclj

(for-update q & fields)
source

fromclj

(from f & tables)

Creates from clause.

Creates from clause.
sourceraw docstring

full-outer-joinclj

(full-outer-join step tlike)
source

group-byclj

(group-by q & fields)
source

havingclj

(having q & clauses)

Create having clause with variable number of conditions (that are implicitly combined with and logical operator).

Create having clause with variable number
of conditions (that are implicitly combined
with `and` logical operator).
sourceraw docstring

IConditioncljprotocol

-conditionclj

(-condition _)

Condition constructor

Condition constructor
source

IDeferredcljprotocol

Protocol mainly defined for uniform unwrapping deferred queries.

Protocol mainly defined for uniform unwrapping
deferred queries.

-unwrapclj

(-unwrap _)

Unwrap the object

Unwrap the object
sourceraw docstring

IFieldcljprotocol

-fieldclj

(-field _)

Field constructor.

Field constructor.
source

INamecljprotocol

-nameclj

(-name _)

Name constructor (mainly used with CTE)

Name constructor (mainly used with CTE)
source

insert-intoclj

(insert-into t)
source

insert-valuesclj

(insert-values t values)
source

ISortFieldcljprotocol

-sort-fieldclj

(-sort-field _)

Sort field constructor

Sort field constructor
source

ITablecljprotocol

-tableclj

(-table _)

Table constructor.

Table constructor.
source

ITableCoercecljprotocol

-as-tableclj

(-as-table _ params)

Table coersion.

Table coersion.
source

IValcljprotocol

-valclj

(-val _)

Val constructor

Val constructor
source

joinclj

(join q t)

Create join clause.

Create join clause.
sourceraw docstring

left-outer-joinclj

(left-outer-join step tlike)
source

limitclj

(limit q num)

Creates limit clause.

Creates limit clause.
sourceraw docstring

nameclj

(name v)
source

notclj

(not c)

Negate a condition.

Negate a condition.
sourceraw docstring

not-existsclj

(not-exists q)

Create a not-exists condition.

Create a not-exists condition.
sourceraw docstring

offsetclj

(offset q num)

Creates offset clause.

Creates offset clause.
sourceraw docstring

oncljmultimethod

source

orclj

(or & conditions)

Logican operator or.

Logican operator `or`.
sourceraw docstring

order-byclj

(order-by q & clauses)
source

returningclj

(returning t & fields)
source

right-outer-joinclj

(right-outer-join step tlike)
source

rowcljmacro

(row & values)
source

selectclj

(select & fields)

Start select statement.

Start select statement.
sourceraw docstring

select-countclj

(select-count)
source

select-distinctclj

(select-distinct & fields)

Start select statement.

Start select statement.
sourceraw docstring

select-fromclj

(select-from t)

Helper for create select * from <table> statement directly (without specify fields)

Helper for create select * from <table>
statement directly (without specify fields)
sourceraw docstring

select-oneclj

(select-one)
source

select-zeroclj

(select-zero)
source

setclj

(set t kv)
(set t k v)

Attach values to the UPDATE statement.

Attach values to the UPDATE statement.
sourceraw docstring

tableclj

(table v)
(table v alias)

Create a table instance.

Create a table instance.
sourceraw docstring

to-tableclj

(to-table texp talias & params)

Coerce querypart to table expression.

Coerce querypart to table expression.
sourceraw docstring

truncateclj

(truncate t)
source

typed-fieldclj

(typed-field data type)
source

unionclj

(union & clauses)
source

union-allclj

(union-all & clauses)
source

updateclj

(update t)

Returns empty UPDATE statement.

Returns empty UPDATE statement.
sourceraw docstring

valclj

(val v)
source

valuesclj

(values & rows)
source

whereclj

(where q & clauses)

Create where clause with variable number of conditions (that are implicitly combined with and logical operator).

Create where clause with variable number
of conditions (that are implicitly combined
with `and` logical operator).
sourceraw docstring

withclj

(with & tables)

Create a WITH clause

Create a WITH clause
sourceraw docstring

with-fieldsclj

(with-fields n & fields)

Add a list of fields to this name to make this name a DerivedColumnList.

Add a list of fields to this name to make this name a DerivedColumnList.
sourceraw docstring

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

× close