Laravel 5.3+, JSON column with SQLite

Posted 1 year ago by Alex360hd

Hello,

I red that since laravel 5.3, you can work with JSON columns.

I wonder if it works with SQLite with the JSON1 extension that normally bring JSON stuff to SQLite.

My objective is to make some database database where statements on json values like that :

->where('meta->favorite_color', 'red')

but on a SQLite database with JSON1 extension enabled.

Will it works ?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.