updated_at
or any other custom field. Laravel provides us functionality to handle timestamp update while saving model. Assigning false
to timestamps
property of model during model save, prevents auto update of timestamp fields.range()
function.type()
function and isinstance()
function.