Each entry in the Database for Contents has a timestamp with the date and time of the most recent change. This timestamp is updated with dbTouch()
, without the saved contents being changed.
void dbTouch(string key)
This function can be used, for example, in combination with an extended selection. The selected option can therefore be given a current timestamp – options that have not been selected for a certain amount of time can then be deleted based on this timestamp.