Liking cljdoc? Tell your friends :D

sqlforcql.cql


delete-multiple-by-pk-colclj

(delete-multiple-by-pk-col table-name pk-col-name values-to-exclude)
(delete-multiple-by-pk-col session table-name pk-col-name values-to-exclude)
(delete-multiple-by-pk-col session
                           keyspace
                           table-name
                           pk-col-name
                           values-to-exclude)
source

get-allclj

(get-all table-name)
(get-all session table-name)
(get-all session keyspace table-name)

Get a sequence of all the rows from the table table-name.

Get a sequence of all the rows from the table `table-name`.
sourceraw docstring

get-by-non-pk-colclj

(get-by-non-pk-col table-name non-pk-col-name-value-map)
(get-by-non-pk-col session table-name non-pk-col-name-value-map)
(get-by-non-pk-col session keyspace table-name non-pk-col-name-value-map)
source

get-by-non-pk-col-likeclj

(get-by-non-pk-col-like table-name non-pk-col-name-value-map)
(get-by-non-pk-col-like session table-name non-pk-col-name-value-map)
(get-by-non-pk-col-like session keyspace table-name non-pk-col-name-value-map)
source

get-by-pk-colclj

(get-by-pk-col table-name pk-col-name-value-map)
(get-by-pk-col session table-name pk-col-name-value-map)
(get-by-pk-col session keyspace table-name pk-col-name-value-map)

Get a row from the table table-name based on the value of PK column(s).

Get a row from the table `table-name` based on the value of PK column(s).
sourceraw docstring

get-countclj

(get-count table-name)
(get-count session table-name)
(get-count session keyspace table-name)

Get a count of the number of rows from the table table-name.

Get a count of the number of rows from the table `table-name`.
sourceraw docstring

update-by-non-pk-colclj

(update-by-non-pk-col table-name pk-col-name where-map update-map)
(update-by-non-pk-col session table-name pk-col-name where-map update-map)
(update-by-non-pk-col session
                      keyspace
                      table-name
                      pk-col-name
                      where-map
                      update-map)
source

update-by-non-pk-col-queryclj

(update-by-non-pk-col-query table-name pk-col-name where-map update-map)
(update-by-non-pk-col-query session table-name pk-col-name where-map update-map)
(update-by-non-pk-col-query session
                            keyspace
                            table-name
                            pk-col-name
                            where-map
                            update-map)

This fn is used when there is only a partitioning key and no clustering columns. It has three overloads because it calls another function to get some data and forms update queries based on that data.

This fn is used when there is only a partitioning key and no clustering columns.
It has three overloads because it calls another function to get some data and
forms update queries based on that data.
sourceraw docstring

update-by-non-pk-col-with-clustering-colclj

(update-by-non-pk-col-with-clustering-col table-name
                                          pk-clustering-col-names
                                          where-map
                                          update-map)
(update-by-non-pk-col-with-clustering-col session
                                          table-name
                                          pk-clustering-col-names
                                          where-map
                                          update-map)
(update-by-non-pk-col-with-clustering-col session
                                          keyspace
                                          table-name
                                          pk-clustering-col-names
                                          where-map
                                          update-map)
source

update-by-non-pk-col-with-clustering-col-queryclj

(update-by-non-pk-col-with-clustering-col-query table-name
                                                pk-clustering-col-names
                                                where-map
                                                update-map)
(update-by-non-pk-col-with-clustering-col-query session
                                                table-name
                                                pk-clustering-col-names
                                                where-map
                                                update-map)
(update-by-non-pk-col-with-clustering-col-query session
                                                keyspace
                                                table-name
                                                pk-clustering-col-names
                                                where-map
                                                update-map)

This fn is used when there is a partitioning key and one or more clustering columns. It has three overloads because it calls another function to get some data and forms update queries based on that data.

This fn is used when there is a partitioning key and one or more clustering columns.
It has three overloads because it calls another function to get some data and
forms update queries based on that data.
sourceraw docstring

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

× close