whereJson laravel code example
Example: laravel query json
$users = DB::table('users')
->whereJsonContains('options->languages', ['en', 'de'])
->get();
$users = DB::table('users')
->whereJsonContains('options->languages', ['en', 'de'])
->get();