Support the ongoing development of Laravel.io →
posted 8 years ago
Eloquent
Last updated 2 years ago.
0

i think letting mysql handle date to auto set on create should be slower than setting it your self as a string, but this latency is very very very small, you won't feel any difference at all.

i would recommend letting the db handle timestamps for you. for create and update. some extra work off your shoulders.

0

as i also answered a few seconds ago in the other topic, im going to use laracasts russian doll caching, thats using the updated_at column, is the whole eloquent standard of using the updated_at still working then? Bart

0

Sign in to participate in this thread!

Eventy

Your banner here too?

BartHuis barthuis Joined 19 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.