It looks like the issue is that korma.core/select is a macro, and has
already expanded by the time you redef it.
https://github.com/korma/Korma/blob/master/src/korma/core.clj#L113
On Fri, Mar 7, 2014 at 12:59 PM, Mark Watson wrote:
> I have a web service that uses Korma for interacting with my
I have a web service that uses Korma for interacting with my db. To mock
data for unit tests I want to re-bind korma.core/select to return known
data and not hit a db.
Currently I have a db ns:
(nsservices.db
(:require [korma.core :refer :all]
[korma.db :refer :all]))
With a