ibdknox/Korma — Issue #37: "Having" clause support
Author: MageSlayer
Created: 2012-01-07 11:38:33+00:00
State: open

Hi

It would be great if we had "having" support in queries.
Something like following:

(subselect posts
(with users)

(fields :users.user_id :users.username :posts.poster_ip)
(aggregate (count :post_id) :post_ip_count)
(order :users.user_id :asc)

(group :users.user_id :users.username :posts.poster_ip)
(having {:post_ip_count [> 1]}))