Re: JSON_ARRAY_APPEND adding escape slash
Posted by: Peter Brawley
Date: August 21, 2022 04:39PM

By "Query Editor" you mean the WorkBench Query Editor? I get single backslashes. Same from MySQL client program.

Of WB, says ...

It is possible to enter a function, or other expression, into a field. Use the prefix \func to prevent MySQL Workbench from escaping quotation marks. For example, for the expression md5('fred'), MySQL Workbench normally would generate the code md5(\'fred\'). To prevent this, enter the expression as \func md5('fred') to ensure that the quoting is not escaped."

Options: ReplyQuote

Written By
Re: JSON_ARRAY_APPEND adding escape slash
August 21, 2022 04:39PM

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.