I have a table that stores statistics every 3 minutes with a cron job. I want to display a chart with this data but I want the chart to have an interval of 1 hour otherwise it looks ugly as hell and is too much resource demanding. The table has the created_at and updated_at columns.
How can I do this with eloquent?
Thanks for your help!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire