Given this model
class license
  has n, slots
end

class Slot
  property cur_user
end

now I have a buch of licenses and want to calc the sum of each
individual slot.
So when I have 3 licenses with 2 slots with the curuser set to 1 I
would like to get an array of [3,3]

Do i have to use SQL or can this be done with an aggregate function
somehow?

Thanks,
Phil

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to