Open mohsenjavidpanah opened 6 years ago
Me too. I wonder how I could use TTL settings.
You can set the TTL in model's __options__
dictionary.
Add this to your model:
__options__ = {
"default_time_to_live": 2
}
So what is an alternative for "default_time_to_live" ?
Hi guys i have a wide-table for store verification codes, i want auto delete this data after some minutes I don't find any documentation about how to do it, guide me to set TTL of my model
Thank You