As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
p6n
I want to combine a contains query with grouping. Seperately, everything works, however, the following doesnt (no results):
var query = new $kinvey.Query();
query.contains('field', fieldsArray);
var group = $kinvey.Group.count('field');
group.query(query);
$kinvey.DataStore.group('collection', group).then(function(res) {
console.log(res);
});
As I said, the following DOES work (desired result):
var query = new $kinvey.Query();
query.contains('field', fieldsArray);
$kinvey.DataStore.find('collection', query).then(function(res) {
console.log(res);
});
The grouping alone works as well.
Any ideas?