Suppose you have a row with 4 columns, that when you create it, you set the TTL to 1 hour.
I need to periodically update the row date column and at the same time update the TTL of the entire row.
Asusming this does not work, what is the correct way to achieve this?
update mytable using ttl 3600
set accessed_on=?
source
share