Checks now have a status that gets updated
This commit is contained in:
@@ -85,3 +85,9 @@
|
||||
(defn count-graphql [args]
|
||||
(:count (first (query
|
||||
(assoc (base-graphql args) :select [:%count.*])))))
|
||||
|
||||
(defn update! [row]
|
||||
(j/update! (get-conn)
|
||||
:checks
|
||||
(-> row (fields->data) (clj->db))
|
||||
["id = ?" (:id row)]))
|
||||
|
||||
Reference in New Issue
Block a user