[BUG] dbForge Studio 2020 MySQL Enterprise - IDE fails on JSON keys with a hyphen

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
Requnix
Posts: 113
Joined: Thu 12 Dec 2019 19:41

[BUG] dbForge Studio 2020 MySQL Enterprise - IDE fails on JSON keys with a hyphen

Post by Requnix » Thu 08 Oct 2020 17:50

Version: 9.0.391
Platform: Windows 10

The IDE gives the below error when you try to do a SELECT statement using a JSON Key that has a hyphen. I can't seem to find confirmation as to whether this is a MySQL limitation or not (it's definitely not a problem with JSON and the data can be inserted just fine). I saw talk about it back in 2016 but that's it.

Is this a MySQL limitation, or a dbForge IDE Smartcontent issue?

Image

alexa

Re: [BUG] dbForge Studio 2020 MySQL Enterprise - IDE fails on JSON keys with a hyphen

Post by alexa » Fri 09 Oct 2020 11:46

We just released dbForge Studio for MySQL, v9.0.435 https://www.devart.com/dbforge/mysql/studio/download.html

Please try the latest build.

Requnix
Posts: 113
Joined: Thu 12 Dec 2019 19:41

Re: [BUG] dbForge Studio 2020 MySQL Enterprise - IDE fails on JSON keys with a hyphen

Post by Requnix » Tue 10 Nov 2020 18:14

Bug still exists in 9.0.435.

alexa

Re: [BUG] dbForge Studio 2020 MySQL Enterprise - IDE fails on JSON keys with a hyphen

Post by alexa » Fri 13 Nov 2020 17:05

This appears to be the error of the server https://stackoverflow.com/questions/35735454/mysql-json-extract-path-expression-error

You should use double quotes if there is a hyphen

Code: Select all

'$."json-message"'

Post Reply