(get-all-query table-name)
(get-all-query keyspace table-name)
Constructs a select * from table-name
query.
Constructs a `select * from table-name` query.
(get-by-non-pk-col-query table-name non-pk-col-name-value-map)
(get-by-non-pk-col-query keyspace table-name non-pk-col-name-value-map)
Constructs a select * from table-name where non-pk-col = value allow filtering
query.
Constructs a `select * from table-name where non-pk-col = value allow filtering` query.
(get-by-pk-col-query table-name pk-col-name-value-map)
(get-by-pk-col-query keyspace table-name pk-col-name-value-map)
Constructs a select * from table-name where pk-col-name = value
query.
Constructs a `select * from table-name where pk-col-name = value` query.
(get-count-query table-name)
(get-count-query keyspace table-name)
Constructs a select count(*) from table-name
query.
Constructs a `select count(*) from table-name` query.
(get-table-name keyspace table-name)
Get the name of the table 't' prefixed with the name of the keyspace 'k' followed by a '.' i.e. returns 'k.t'.
Get the name of the table 't' prefixed with the name of the keyspace 'k' followed by a '.' i.e. returns 'k.t'.
(keywordize-table-name table-name)
(keywordize-table-name keyspace table-name)
Converts the name of the table table-name
into a keyword. If the name
of the keyspace is also specified, then it converts keyspace.table-name
into a keyword.
Converts the name of the table `table-name` into a keyword. If the name of the keyspace is also specified, then it converts `keyspace.table-name` into a keyword.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close