Open shalikas opened 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 }
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 }