Laravel Query JSON
$users = DB::table('users')
->whereJsonContains('options->languages', ['en', 'de'])
->get();
Clean Crab
$users = DB::table('users')
->whereJsonContains('options->languages', ['en', 'de'])
->get();
$users = DB::table('users')
->where('options->language', 'en')
->get();
$users = DB::table('users')
->where('preferences->dining->meal', 'salad')
->get();