Sql building dsl
Sql building dsl
(alter-table name)Creates new and empty alter table expression.
Creates new and empty alter table expression.
(drop-column step name & [type])Drop column from alter table step.
Drop column from alter table step.
(drop-table t)Drop table statement constructor.
Drop table statement constructor.
(f v)Create a field instance, specialized on create function like field instance.
Create a field instance, specialized on create function like field instance.
(field v)(field v alias)Create a field instance.
Create a field instance.
(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).
Protocol mainly defined for uniform unwrapping deferred queries.
Protocol mainly defined for uniform unwrapping deferred queries.
(-unwrap _)Unwrap the object
Unwrap the object
(-name _)Name constructor (mainly used with CTE)
Name constructor (mainly used with CTE)
(-sort-field _)Sort field constructor
Sort field constructor
(not-exists q)Create a not-exists condition.
Create a not-exists condition.
(select-distinct & fields)Start select statement.
Start select statement.
(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)
(set t kv)(set t k v)Attach values to the UPDATE statement.
Attach values to the UPDATE statement.
(table v)(table v alias)Create a table instance.
Create a table instance.
(to-table texp talias & params)Coerce querypart to table expression.
Coerce querypart to table expression.
(update t)Returns empty UPDATE statement.
Returns empty UPDATE statement.
(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).
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |