|
Hi Guys,
I was wondering if there was an easier way to update the last update time column of a table.
Here is what I am doing right now:
I am first checking to see if the object already exists in the table. If it does not, then I insert the object as usual using save(). If it does exist, I have a seperate method where I re-set the last update time to the current time, and then call the update() method.
Doesn't this seem a bit too wordy for a simple task? Is there an easier way that I am missing?
Thanks!
|