restangular icon indicating copy to clipboard operation
restangular copied to clipboard

Group by count

Open simar7777 opened this issue 7 years ago • 0 comments

Hi, Thanks for this wornderful tool , its really very hepful . i am novice for this tools .my sincere apologies if i have raised a very basic query . have gone throught eh existing issues and help file couldn't get the answer. My query is i want to get a group by count from the server Eg: i am expecting the following output

'pr': 250 'pj': 500

for this command :

Program.getList({ group: 'type'}).then(function(resp){

console.log(resp)

})

i dont want to get all the 750 record in the client side and do a group by .

Cheers...

simar7777 avatar Apr 13 '18 04:04 simar7777