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

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
tfrancois
Posts: 44
Joined: Mon 11 Jun 2018 23:58

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

Post by tfrancois » Fri 13 May 2022 04:42

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.

dzhanhira
Devart Team
Posts: 239
Joined: Mon 26 Oct 2020 13:49

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

Post by dzhanhira » Wed 18 May 2022 09:51

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

cisoUpton46
Posts: 1
Joined: Wed 29 Jun 2022 09:02

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

Post by cisoUpton46 » Wed 29 Jun 2022 09:10

I don't know if the error has been fixed. gartic phone

jerrymoranie
Posts: 1
Joined: Fri 01 Jul 2022 04:46

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

Post by jerrymoranie » Fri 01 Jul 2022 04:59

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

dzhanhira
Devart Team
Posts: 239
Joined: Mon 26 Oct 2020 13:49

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

Post by dzhanhira » Fri 01 Jul 2022 06:59

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.

tfrancois
Posts: 44
Joined: Mon 11 Jun 2018 23:58

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

Post by tfrancois » Fri 12 Aug 2022 19:42

I can happily confirmed this issue has been resolved with the release of v9.1.8. Thank you!

Post Reply