I have an array of objects
is it possible to make a query in mysql to generate an array of 2 arrays of object that are group by group_id.
Result:
if not how to do this in javascript, also the group ID needs to be dynamic.?
I have an array of objects
is it possible to make a query in mysql to generate an array of 2 arrays of object that are group by group_id.
Result:
if not how to do this in javascript, also the group ID needs to be dynamic.?