MySQL Forums
Forum List  »  Docs

json_set function dont match doc
Posted by: wb l
Date: November 18, 2022 12:28AM

In MySQL doc 8.0, json_set will returns NULL if any argument is NULL. But in my mysql (8.0.31), I found:
select json_set('{}', '$.a', null);
'{"a": null}'

Options: ReplyQuote

Written By
json_set function dont match doc
November 18, 2022 12:28AM

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.