(add-column identifier type)Clause: takes a table identifier and a column type
Clause: takes a table identifier and a column type
(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
(alter-column identifier type)Clause: takes a table identifier and a column type
Clause: takes a table identifier and a column type
(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.
(columns & columns)Clause: takes columns identifiers ex: (columns :foo "bar" :baz)
Clause: takes columns identifiers ex: (columns :foo "bar" :baz)
(counter)(counter value)Clause: Sets COUNTER attribute on BATCH queries
Clause: Sets COUNTER attribute on BATCH queries
(custom)(custom x)Clause: Sets CUSTOM status on create-index query
Clause: Sets CUSTOM status on create-index query
(drop-column id)Clause: Takes a column Identifier
Clause: Takes a column Identifier
(group-by & columns)Clause: expects 1 or more columns. ex: (group-by col1 col2)
Clause: expects 1 or more columns. ex: (group-by col1 col2)
(if-exists)(if-exists b)Clause: Apply only if the target exists
Clause: Apply only if the target exists
(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
(index-name value)Clause: Takes an index identifier
Clause: Takes an index identifier
(limit n)Clause: Sets LIMIT, takes a numeric value
Clause: Sets LIMIT, takes a numeric value
(logged)(logged value)Clause: Sets LOGGED/UNLOGGED attribute on BATCH queries
Clause: Sets LOGGED/UNLOGGED attribute on BATCH queries
(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
(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
(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])
(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
(perm value)Clause: Sets permission to be listed with list-perm
Clause: Sets permission to be listed with list-perm
(queries & queries)Clause: takes hayt queries to be executed during a batch operation.
Clause: takes hayt queries to be executed during a batch operation.
(recursive)(recursive value)Clause: Sets recusivity on list-perm (LIST PERMISSION) queries
Clause: Sets recusivity on list-perm (LIST PERMISSION) queries
(rename-column old-name new-name)Clause: rename from old-name to new-name
Clause: rename from old-name to new-name
(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
(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
(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
(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
(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
(values values)(values x y & more)Clause: Takes a map of columns to be inserted
Clause: Takes a map of columns to be inserted
(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
(where' & args)Same as where but for people who prefer unrolled args
Same as `where` but for people who prefer unrolled args
(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
(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)
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 |