phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Singhal <ankitsingha...@gmail.com>
Subject Re: Can I reset a row's TTL?
Date Mon, 07 Aug 2017 10:44:45 GMT
You can do this by UPSERT SELECT.

On Mon, Aug 7, 2017 at 4:13 PM, Ankit Singhal <ankitsinghal59@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.forbes@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
>>
>>
>

Mime
View raw message