Liking cljdoc? Tell your friends :D

Updating Data with DSL


; a simple update
(pg/trx-> examples-db
          (pg/update :categories
                     {:name "Category A2"} ; new column values
                     {:id 1})) ; where id = 1

  • update dsl syntax is likely to be changed.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close