You can do this by UPSERT SELECT.

On Mon, Aug 7, 2017 at 4:13 PM, Ankit Singhal <ankitsingha...@gmail.com>
wrote:

> You can read KVs for that user and write them again with current time.
>
> On Sun, Aug 6, 2017 at 8:44 PM, Cheyenne Forbes <
> cheyenne.osanu.for...@gmail.com> wrote:
>
>> I'm using phoenix to store user sessions. The table's TTL is set to 3
>> days and I'd like to have the 3 days start over if the user comes back
>> before the previous 3 days havent ended.
>>
>> Thanks,
>>
>> Cheyenne O. Forbes
>>
>>
>

Reply via email to