php json mysql only return certain value 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();