persvr / rql

Resource Query Language
http://www.persvr.org/
267 stars 49 forks source link

Add 'group by having' expression #29

Open wshager opened 11 years ago

wshager commented 11 years ago

RQL lacks an option to group by a certain scalar expression: books: [{ title:'foo', date:'2013-01-01', publisher:'jb' },etc.]

e.g: groupby(publisher,max(date))

It's like aggregate, only returns a new list. But perhaps there's another way to write this.