summaryrefslogtreecommitdiff
path: root/.midje.clj
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-06-24 17:54:19 +1000
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-06-24 17:54:19 +1000
commitd86e2c996ab86ea65c36105fb6c77831a772786d (patch)
treefa57e0e91e64c3725f210e7141651f9e7657a5b5 /.midje.clj
parent68c206aab2ddac42bef6de97fd065f75edcb1a98 (diff)
Make dotted fields result in nested maps when querying
So now something like this: (-> (table :users) (project {:id :user.id, :email :user.email, :person :person.id}) (join (-> (table :people) (project {:id :person.id, :first-name :person.first-name})))) will result in a map like this for each result: {:user {:id 1, :email "..."}, :person {:id 1, :first-name "..."}} Although I've just thought of an issue that will need to be detected where an error should be thrown. I'll deal with that now and commit it soon.
Diffstat (limited to '.midje.clj')
0 files changed, 0 insertions, 0 deletions