You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Try to query JSON property that starts with a number.
// generates
select `j0`.* from `jwt` as `j0` where `j0`.`jwt_data`->'$.4mh:Login:Type' = 'SecureDownloadLink' and `j0`.`jwt_data`->'$.4mh:SecureDownloadLink:Id' = '8768c9a0-542d-4ac7-b0a9-7b4b627a6fb1'
// but it should be
select `j0`.* from `jwt` as `j0` where `j0`.`jwt_data`->'$."4mh:Login:Type"' = 'SecureDownloadLink' and `j0`.`jwt_data`->'$."4mh:SecureDownloadLink:Id"' = '8768c9a0-542d-4ac7-b0a9-7b4b627a6fb1'
The text was updated successfully, but these errors were encountered:
Describe the bug
When querying JSON properties, they sometimes require quoting, e.g. when the property name starts with a number.
https://mikroorm.slack.com/archives/CFSAF8DEX/p1682066001116079
To Reproduce
Try to query JSON property that starts with a number.
The text was updated successfully, but these errors were encountered: