mongoid/mongoid — Issue #1385: is there select count(id) from tb group by id syntax in mongoid?
Author: wyh770406
Created: 2011-10-29 13:29:14+00:00
State: open

hi all,
is there count aggregate functions in mongoid?
for example select count(id) from tb group by id syntax in mongoid?

thanks in advance