Create a Model for your calendar and set the table name on it.
https://laravel.com/docs/5.1/eloquent
For most queries you'd want to do eloquent has a simple fluent sintax. But if at some point you are struggling or your query is pretty elaborated (subqueries on the subquery of the subquery for another subquery...) you can always use the raw method of the query builder "(DB::Select(DB::raw))"
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community