How can I specify which fields to return in a group() query? find() has fields parameter; group() doesn't.
views:
14answers:
1
A:
Write a javascript function that removes the fields you don't want and pass it to the finalize parameter of group
Charles Hooper
2010-10-29 15:54:40
Isn't it going to slow down the query?
Pawel Decowski
2010-10-29 16:15:53
Of course it is, but it does what you asked.
Charles Hooper
2010-10-29 17:05:01