(execute-honeysql! db hsql-map)
Always return keys for inserts.
Always return keys for inserts.
(set-hint-transport-fn! f)
The hint transport function should take a collection of hints and send them to the configured view system. On a non-distribued server this can be: (fn [hints] (refresh-views! views-config hints))
The hint transport function should take a collection of hints and send them to the configured view system. On a non-distribued server this can be: (fn [hints] (refresh-views! views-config hints))
(vexec! db action-map)
Used to perform arbitrary insert/update/delete actions on the database, while ensuring that view hints are sent to the view system. Arguments are:
db: a clojure.java.jdbc database with optional :hints field.
If hints field is present hints will be conj'd to the collection. Otherwise send-hints function set by set-hint-transport-fn! will be used.
action-map: the HoneySQL map for the insert/update/delete action
Used to perform arbitrary insert/update/delete actions on the database, while ensuring that view hints are sent to the view system. Arguments are: - db: a clojure.java.jdbc database with optional :hints field. If hints field is present hints will be conj'd to the collection. Otherwise send-hints function set by set-hint-transport-fn! will be used. - action-map: the HoneySQL map for the insert/update/delete action
(with-view-transaction binding & forms)
Like with-db-transaction, but sends view hints at end of transaction.
Like with-db-transaction, but sends view hints at end of transaction.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close