by pinopinopino · 6y ago · 0 comments
(defn inc! [id]
(kc/exec-raw (format "UPDATE articles SET count = count + 1 WHERE id = %s" id)))
(From https://github.com/tbsschroeder/clojure-webshop-app/blob/mas...)
You don't need format it seems: https://github.com/korma/Korma/blob/master/src/korma/core.cl...