is there any way where i can apply group and pagination using createQuery?
问题 Query like this, http://localhost:3030/dflowzdata?$skip=0&$group=uuid&$limit=2 and dflowzdata service contains data like, [ { "uuid": 123456, "id": 1 }, { "uuid": 123456, "id": 2 }, { "uuid": 7890, "id": 3 }, { "uuid": 123456, "id": 4 }, { "uuid": 4567, "id": 5 } ] Before Find Hook like, if (query.$group !== undefined) { let value = hook.params.query.$group delete hook.params.query.$group const query = hook.service.createQuery(hook.params.query); hook.params.rethinkdb = query.group(value) }