Page 1 of 1

[9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Fri 13 May 2022 04:42
by tfrancois
Hello Devart Support,

It appears that dbForge does not currently fully support the JSON_VALUE() function syntax which includes the ability to utilize the RETURNING type arguments (allow CASTing of returned value to a specific data type). When attempting to create a generated column in the Table Editor or using the function and syntax in a stored function or procedure, neither allows the code to be saved because the interpreter views it as an error. This is valuable new function in that eliminates the need to write more verbose SQL code for type casting.

For more information on the new function and syntax:
https://dev.mysql.com/doc/refman/8.0/en ... json-value

Support was added by the language for this function as of MySQL 8.0.21.

Code: Select all

mysql> SELECT JSON_VALUE('{"item": "shoes", "price": "49.95"}', '$.price' RETURNING DECIMAL(4,2)) AS price;
+-------+
| price |
+-------+
| 49.95 |
+-------+
Respectfully, can we please add support for this as soon as feasibly possible. Thank you as always.

Re: [9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Wed 18 May 2022 09:51
by dzhanhira
Hi there,

Kindly be informed that we are going to investigate it and fix it in one of the next versions.

Once the fixed release is available for download, we will inform you.

Best regards,
Dzhanhir

Re: [9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Wed 29 Jun 2022 09:10
by cisoUpton46
I don't know if the error has been fixed. gartic phone

Re: [9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Fri 01 Jul 2022 04:59
by jerrymoranie
I'm unsure whether the bug has been fixed. This is challenging to find. Usually, if I find a problem, I'll get in touch with the previous seller heardle game

Re: [9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Fri 01 Jul 2022 06:59
by dzhanhira
Please, be informed that the bug is not fixed yet, our team is working on it right now.
Once the fixed version will be released, we are going to inform you.

Re: [9.0.791]: Support for JSON_VALUE needed in table definition and stored procs/functions

Posted: Fri 12 Aug 2022 19:42
by tfrancois
I can happily confirmed this issue has been resolved with the release of v9.1.8. Thank you!