I need to use TTL via cqlengine; But there is no documentation about it. Can someone help me about it. Thanks
TTL is supported.
In [13]: class Bacon(Model):
....: pk = Integer(primary_key=True)
....: name = Text()
....:
In [14]: sync_table(Bacon)
In [15]: Bacon.ttl(60).create(pk=1, name="delicious")
Out[15]: Bacon <pk=1>
See the following:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With