Laravel Version: 5.8 Why doesn't https://github.com/laravel/framework/blob/5.8/src/Illuminate/Redis/...
something like this? Tag::whereIn('id', function($innerQuery){ $innerQuery->select('tag_id') ->...
You can add a where clause in your SQL to do the filtering. Use CONCAT. If you allready got the coll...
This is a frequent problem. It is known as a four table relation (3 + pivot). I think the best solut...
$result = DB::table('dashboards')->select('NA_LY_AVG')->where...->get(); gives a Collectio...
My mistake. It should be ->has() instead of ->whereHas() in my code
The Laravel portal for problem solving, knowledge sharing and community building.