Repository: cassandra
Updated Branches:
  refs/heads/cassandra-1.2 dceca93b7 -> 034ac7d0f


Document that TTL <= 0 means no TTL


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/034ac7d0
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/034ac7d0
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/034ac7d0

Branch: refs/heads/cassandra-1.2
Commit: 034ac7d0fc961379cff1faa573ecb4df22ff8df0
Parents: dceca93
Author: Sylvain Lebresne <[email protected]>
Authored: Tue Feb 25 09:54:00 2014 +0100
Committer: Sylvain Lebresne <[email protected]>
Committed: Tue Feb 25 09:54:11 2014 +0100

----------------------------------------------------------------------
 doc/cql3/CQL.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/034ac7d0/doc/cql3/CQL.textile
----------------------------------------------------------------------
diff --git a/doc/cql3/CQL.textile b/doc/cql3/CQL.textile
index b18ce22..8d853c5 100644
--- a/doc/cql3/CQL.textile
+++ b/doc/cql3/CQL.textile
@@ -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

Reply via email to