Replace your exception with return parent::__call($method, $arguments): This way if the magic metho...
Unfortunately you can't have your cake and eat it too. If you want to keep only the ID as a paramete...
You need to use the "raw" method on the DB facade. use DB; Model::select(DB::raw("IF...
The Laravel portal for problem solving, knowledge sharing and community building.
The community