(execute! db-spec query pkey-column pkey-batch)
Executes the update/delete query Returns the number of rows processed
Executes the update/delete query Returns the number of rows processed
(primary-key-column query)
Assumes the primary key column to be <table-name>_id
Assumes the primary key column to be `<table-name>_id`
(remove-trailing-semicolon s)
Removes semi-colon from the end of a string
Removes semi-colon from the end of a string
Gets the set column names and their values from the update query
Gets the set column names and their values from the update query
(table-name query)
Gets the name of the table from the large update/delete query
Gets the name of the table from the large update/delete query
(update-or-delete-op query)
Checks if the large query is doing an update or delete operation
Checks if the large query is doing an update or delete operation
(where-clause query)
Extracts where clause from the large update/delete query
Extracts where clause from the large update/delete query
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close