It would be really nice if a function could be provided to conman/bind-connection that would wrap database-touching functions.
Something like
(conman/bind-connection *db*
{:wrapper-func log-it}
"sql/queries.sql")
where a theoretical create-user! call would be defined as
(defn create-user! [map]
(REAL-create-user (log-it map)))
or something to that effect.
It would be really nice if a function could be provided to
conman/bind-connectionthat would wrap database-touching functions.Something like
where a theoretical
create-user!call would be defined asor something to that effect.