Given a CoreData-Entity with an date (days) and an ammount called Transaction.
Is it with CoreData possible (and how) to aggregate/group the 'table' (with all Transactions) by Date and calculate the sum of the day in a second column/attribute?
(the SQL-Solution would be SELECT date, sum(ammount) FROM transaction GROUP BY date
)
views:
59answers:
2
+2
A:
They may not do exactly what you want, but since Core Data is fully KVC compliant, take a look at the Key-Value Coding Set and Array operators. This should at least get you pretty close to what you're looking to do.
Shawn Craver
2010-06-16 21:31:22