dimanche 18 mars 2018

laravel get entries of last month, displaying them day by day

What's the best way to get all records from the last month, day by day using the default laravel "created_at" as timestamp of creation.

Is there some way to prevent needless database load, when loading them?

database design is laravel "basic"

id|name|created_at|updated_at



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

Aucun commentaire:

Enregistrer un commentaire