Ended up doing this. This way I can add more JSON objects to the main select, SELECT `user`.`id`, ( SELECT JSON_ARRAYAGG( JSON_OBJECT( 'id', ...
確定! 回上一頁