On Tue, Apr 7, 2015 at 9:24 PM, Aristedes Maniatis <a...@maniatis.org> wrote:

> Am I missing the point here of why these should be in an ORM? Personally
> if we are going to add more convenience functions I'd rather see
> query.count(), query.sum(Article.PRICE), etc aggregate functions.
>

Hi Ari,

If you want some aggregate functions, I have this:

https://github.com/mrg/cbe/blob/master/FetchingObjects/Aggregates/src/main/java/cbe/fetching/utilities/AggregateUtils.java

With an example using them:

https://github.com/mrg/cbe/blob/master/FetchingObjects/Aggregates/src/main/java/cbe/fetching/Aggregates.java

mrg

Reply via email to