After migrating my Mongo app to DocumentDB on Azure the $group
queries are no longer working and are throwing the following error:
{ MongoError: '$group' is not supported',
name: 'MongoError',
message: '\'$group\' is not supported',
_t: 'OKMongoResponse',
ok: 0,
code: 115,
errmsg: '\'$group\' is not supported',
'$err': '\'$group\' is not supported' }
Has anyone else encountered this before and may have any suggestions?