MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / ttl

Method ttl

cassandra/cqlengine/query.py:1161–1169  ·  view source on GitHub ↗

Sets the ttl (in seconds) for modified data. *Note that running a select query with a ttl value will raise an exception*

(self, ttl)

Source from the content-addressed store, hash-verified

1159 return clone
1160
1161 def ttl(self, ttl):
1162 """
1163 Sets the ttl (in seconds) for modified data.
1164
1165 *Note that running a select query with a ttl value will raise an exception*
1166 """
1167 clone = copy.deepcopy(self)
1168 clone._ttl = ttl
1169 return clone
1170
1171 def timestamp(self, timestamp):
1172 """

Calls

no outgoing calls