laravel-mariadb icon indicating copy to clipboard operation
laravel-mariadb copied to clipboard

Problems with unquoting

Open buddhaCode opened this issue 4 years ago • 3 comments

Thanks four your great grammar!

I have some problems with the unquoting. I have the following JSON doc in a column:

{ "displayName": "App\\Jobs\\rotateClip" }

When querying this property I will get the quoted return: "App\\Jobs\\rotateClip" I could use ->> to unquote it. But then my code wouldn't be database agnostic anymore. On a MySQL Database this would fail. And MySQL is unquoting it by default. Shouldn't this behavior be the same on MariaDB?

buddhaCode avatar Jul 14 '20 09:07 buddhaCode

What's the version of MariaDB server?

ybr-nx avatar Jul 16 '20 11:07 ybr-nx

Can it be related to the last section of this one? https://github.com/ybr-nx/laravel-mariadb/blob/master/README.md

ybr-nx avatar Jul 16 '20 11:07 ybr-nx

It's version 10.3.15. So the bug should be fixed in my version.

buddhaCode avatar Jul 16 '20 11:07 buddhaCode