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
1047
October 13, 2021 09:19AM
Re: for json path, for json auto
386
October 13, 2021 10:12AM
269
October 14, 2021 06:09PM
228
October 14, 2021 06:21PM


Sorry, you can't reply to this topic. It has been closed.

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.