laravel json array exact match query 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();