Liking cljdoc? Tell your friends :D

qbits.hayt.dsl.clause


add-columnclj

(add-column identifier type)

Clause: takes a table identifier and a column type

Clause: takes a table identifier and a column type
sourceraw docstring

allow-filteringclj

(allow-filtering)
(allow-filtering value)

Clause: sets ALLOW FILTERING on select queries, defaults to true is used without a value

Clause: sets ALLOW FILTERING on select queries, defaults to true is
used without a value
sourceraw docstring

alter-columnclj

(alter-column identifier type)

Clause: takes a table identifier and a column type

Clause: takes a table identifier and a column type
sourceraw docstring

column-definitionsclj

(column-definitions column-definitions)

Clause: Takes a map of columns definitions (keys are identifiers , values, types), to be used with create-table.

Clause: Takes a map of columns definitions (keys are identifiers ,
values, types), to be used with create-table.
sourceraw docstring

columnsclj

(columns & columns)

Clause: takes columns identifiers ex: (columns :foo "bar" :baz)

Clause: takes columns identifiers
ex: (columns :foo "bar" :baz) 
sourceraw docstring

counterclj

(counter)
(counter value)

Clause: Sets COUNTER attribute on BATCH queries

Clause: Sets COUNTER attribute on BATCH queries
sourceraw docstring

customclj

(custom)
(custom x)

Clause: Sets CUSTOM status on create-index query

Clause: Sets CUSTOM status on create-index query
sourceraw docstring

drop-columnclj

(drop-column id)

Clause: Takes a column Identifier

Clause: Takes a column Identifier
sourceraw docstring

if-existsclj

(if-exists)
(if-exists b)

Clause: Apply only if the target exists

Clause: Apply only if the target exists
sourceraw docstring

if-not-existsclj

(if-not-exists)
(if-not-exists b)

DEPRECATED use (if-exists false) Clause: Apply only if the row does not exist

DEPRECATED use (if-exists false)
Clause: Apply only if the row does not exist
sourceraw docstring

index-nameclj

(index-name value)

Clause: Takes an index identifier

Clause: Takes an index identifier
sourceraw docstring

limitclj

(limit n)

Clause: Sets LIMIT, takes a numeric value

Clause: Sets LIMIT, takes a numeric value
sourceraw docstring

loggedclj

(logged)
(logged value)

Clause: Sets LOGGED/UNLOGGED attribute on BATCH queries

Clause: Sets LOGGED/UNLOGGED attribute on BATCH queries
sourceraw docstring

only-ifclj

(only-if args)

Clause: takes a map or a vector of pairs (same as where) to compose the if clause of a update/delete query

Clause: takes a map or a vector of pairs (same as `where`) to compose the if
clause of a update/delete query
sourceraw docstring

only-if'clj

(only-if' & args)

Clause: takes a map or a vector of pairs (same as where) to compose the if clause of a update/delete query

Clause: takes a map or a vector of pairs (same as `where`) to compose the if
clause of a update/delete query
sourceraw docstring

order-byclj

(order-by & columns)

Clause: takes vectors of 2 elements, where the first is the column identifier and the second is the ordering as keyword. ex: (order-by [:asc :desc])

Clause: takes vectors of 2 elements, where the first is the column
identifier and the second is the ordering as keyword.
ex: (order-by [:asc :desc])
sourceraw docstring

passwordclj

(password value)

Clause: To be used with alter-user and create-user, sets password

Clause: To be used with alter-user and create-user, sets password
sourceraw docstring

permclj

(perm value)

Clause: Sets permission to be listed with list-perm

Clause: Sets permission to be listed with list-perm
sourceraw docstring

queriesclj

(queries & queries)

Clause: takes hayt queries to be executed during a batch operation.

Clause: takes hayt queries to be executed during a batch operation.
sourceraw docstring

recursiveclj

(recursive)
(recursive value)

Clause: Sets recusivity on list-perm (LIST PERMISSION) queries

Clause: Sets recusivity on list-perm (LIST PERMISSION) queries
sourceraw docstring

rename-columnclj

(rename-column old-name new-name)

Clause: rename from old-name to new-name

Clause: rename from old-name to new-name
sourceraw docstring

resourceclj

(resource value)

Clause: Sets resource to be modified/used with grant or list-perm

Clause: Sets resource to be modified/used with grant or list-perm
sourceraw docstring

set-columnsclj

(set-columns values)
(set-columns x y & more)

Clause: Takes a map of columns to be updated

Clause: Takes a map of columns to be updated
sourceraw docstring

superuserclj

(superuser)
(superuser value)

Clause: To be used with alter-user and create-user, sets superuser status

Clause: To be used with alter-user and create-user, sets superuser status
sourceraw docstring

userclj

(user value)

Clause: Sets user to be modified/used with grant or list-perm

Clause: Sets user to be modified/used with grant or list-perm
sourceraw docstring

usingclj

(using opts)
(using x y & more)

Clause: Sets USING, takes keyword/value pairs for :timestamp and :ttl

Clause: Sets USING, takes keyword/value pairs for :timestamp and :ttl
sourceraw docstring

valuesclj

(values values)
(values x y & more)

Clause: Takes a map of columns to be inserted

Clause: Takes a map of columns to be inserted
sourceraw docstring

whereclj

(where args)

Clause: takes a map or a vector of pairs to compose the where clause of a select/update/delete query

Clause: takes a map or a vector of pairs to compose the where
clause of a select/update/delete query
sourceraw docstring

where'clj

(where' & args)

Same as where but for people who prefer unrolled args

Same as `where` but for people who prefer unrolled args
sourceraw docstring

where1clj

(where1 args)
(where1 x y & more)

backward compatible with hayt 1.0 and 2.0 betas

backward compatible with hayt 1.0 and 2.0 betas
sourceraw docstring

withclj

(with values)
(with x y & more)

Clause: compiles to a CQL with clause (possibly nested maps)

Clause: compiles to a CQL with clause (possibly nested maps)
sourceraw docstring

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

× close