Re: for json path, for json auto
Posted by: Peter Brawley
Date: October 13, 2021 10:12AM

Perhaps something like ...

SELECT JSON_ARRAYAGG( JSON_OBJECT(<select list>) ) FROM ...;

MySQL JSON functionality is documented at https://dev.mysql.com/doc/refman/5.7/en/json-function-reference.html

Options: ReplyQuote


Subject
Views
Written By
Posted
479
October 13, 2021 09:19AM
Re: for json path, for json auto
221
October 13, 2021 10:12AM
117
October 14, 2021 06:09PM
114
October 14, 2021 06:21PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.