nestjsx / crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
4.08k stars 538 forks source link

Group Entity parameters #733

Open shalikas opened 3 years ago

shalikas commented 3 years ago

IS there any possibility to group response set in Controller without relations, same like in GROUP BY in SQL ? Thank you in advance.

"data": { "accepted_amount": [ { "Language_ID": 1, "Name": "accepted_amount", "Value": "Accepted amount", "Group": null }, { "Language_ID": 2, "Name": "accepted_amount", "Value": "Accepted amount", "Group": null }, { "Language_ID": 3, "Name": "accepted_amount", "Value": "Accepted amount", "Group": null } ], "accepted_currency": [ { "Language_ID": 1, "Name": "accepted_currency", "Value": "Accepted currency", "Group": null }, { "Language_ID": 2, "Name": "accepted_currency", "Value": "Accepted currency", "Group": null }, { "Language_ID": 3, "Name": "accepted_currency", "Value": "Accepted currency", "Group": null } ],

"count": 1191, "total": 1191, "page": 1, "pageCount": 1 }