Support the ongoing development of Laravel.io →

Robert Girhiny

Joined 7 Dec 2017

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0
posted 6 years ago

Eloquent JSON field, selecting attribute produce extra quote

This code: $translation = Translation::where('language_id', 2) ->whereNotNull('data-&...

0 Likes
1 Replies
replied 6 years ago

Eloquent JSON field, selecting attribute produce extra quote

The solution: MySQL 5.7.13 and later Using the unquoting extraction operator ->> ->select('...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.