cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <>
Subject @sum, @count
Date Wed, 23 Aug 2006 08:26:28 GMT
Are we able to use @sum, @count, etc in a valueForKey type construct  
like with WebObjects, etc.? 

This would be a handy way to avoid having to hard code SQL statements  
or manually looping through loaded entities in a context to achieve  
the same thing. Obvious applications such as adding up invoice lines  
where speed and clarity are very important.

If this doesn't exist should I create a Jira task for it?

Ari Maniatis

Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

View raw message