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 is a website building & hosting documentation for Clojure/Script libraries

× close