Closed vinurs closed 1 year ago
running (integrant.repl/reset)
should do the trick
everytime when i add a new sql function , i should re-run (def query-fn (:db.sql/query-fn state/system))
It would be better to use a (defn query-fn [] (:db.sql/query-fn state/system))
, this way it'll grab the fresh state of the system when it's called.
Yes, that solves this problem,thanks
when develop, i add a new function in the sql file
then, how can i hot reload the sql file, and exec the function?