[Solar-talk] updated col solar svn
Jeff Surgeson
solar at 3hex.com
Fri Apr 27 05:29:29 PDT 2007
Do I have this arse about face?
the created column (if exists) is initialized with timestamp when record is
initially created and never changes, so that you always have a reference to
when it was first created, correct?
the updated column (if exists) is initialized with timestamp when record is
initially created however thereafter each time the record is updated this
should be updated with current timestamp, so that you have a record of last
change, correct?
At least this is the way I see it should work, if I am correct in my
assumption then why in Solar_Sql_Model::_update() line 1692 does update()
only update the updated column if it is empty?
That way after creation created and updated both reflect creation timestamps
irrespective of number of times updated.
This does not make sense to me, am I missing something?
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the solar-talk
mailing list