Is this possible with laravel query builder?

I have an events table and I want to get back events in a structure like this:

[date1=>[events that occoured at date1], date2=>[events that occoured at  date2],...]

Is this possible or do I have to build up the structure after the query?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2U22cuJ
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time