mirror of https://github.com/apache/cassandra
Document that TTL <= 0 means no TTL
This commit is contained in:
parent
dceca93b79
commit
034ac7d0fc
|
|
@ -499,7 +499,7 @@ h4(#updateOptions). @<options>@
|
|||
|
||||
The @UPDATE@ and @INSERT@ statements allows to specify the following options for the insertion:
|
||||
* @TIMESTAMP@: sets the timestamp for the operation. If not specified, the current time of the insertion (in microseconds) is used. This is usually a suitable default.
|
||||
* @TTL@: allows to specify an optional Time To Live (in seconds) for the inserted values. If set, the inserted values are automatically removed from the database after the specified time. Note that the TTL concerns the inserted values, not the column themselves. This means that any subsequent update of the column will also reset the TTL (to whatever TTL is specified in that update). By default, values never expire.
|
||||
* @TTL@: allows to specify an optional Time To Live (in seconds) for the inserted values. If set, the inserted values are automatically removed from the database after the specified time. Note that the TTL concerns the inserted values, not the column themselves. This means that any subsequent update of the column will also reset the TTL (to whatever TTL is specified in that update). By default, values never expire. A TTL of 0 or a negative one is equivalent to no TTL.
|
||||
|
||||
|
||||
h3(#deleteStmt). DELETE
|
||||
|
|
|
|||
Loading…
Reference in New Issue