You can now turn schedules on and off
This commit is contained in:
@@ -19,5 +19,5 @@
|
||||
))
|
||||
|
||||
(defn upsert [id data]
|
||||
(j/update! (get-conn) :companies data ["id = ?" (Integer/parseInt id)] )
|
||||
(merge-data (first (j/query (get-conn) ["SELECT * FROM companies WHERE id = ?" (Integer/parseInt id)]))))
|
||||
(j/update! (get-conn) :companies (clj->db data) ["id = ?" (Integer/parseInt id)] )
|
||||
(merge-data (db->clj (first (j/query (get-conn) ["SELECT * FROM companies WHERE id = ?" (Integer/parseInt id)])))))
|
||||
|
||||
Reference in New Issue
Block a user