laravel get api to return all records particular column 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();