Puoi usare whereRaw con funzioni JSON:
DB::table('packages')
->whereRaw('json_contains(destinations, \'["Goa"]\')')
->get();Sanitizza o绑定 eventuali keyword interpolate nel raw SQL.
Puoi usare whereRaw con funzioni JSON:
DB::table('packages')
->whereRaw('json_contains(destinations, \'["Goa"]\')')
->get();Sanitizza o绑定 eventuali keyword interpolate nel raw SQL.