As a side note, if you do need to aggregate a resultset to json. then the upcoming MySQL 8 will do that for you. JSON_ARRAYAGG() Return result set as a single ...
確定! 回上一頁