cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [1/3] cassandra git commit: Document bind markers for TIMESTAMP, TLL, and LIMIT
Date Tue, 03 Mar 2015 20:03:19 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk fccf0b4f6 -> b53313533

Document bind markers for TIMESTAMP, TLL, and LIMIT

Patch by Tyler Hobbs for CASSANDRA-8889


Branch: refs/heads/trunk
Commit: 6ee0c757c387f5e55299e8f6bb433b9c6166ead2
Parents: 72c6ed2
Author: Tyler Hobbs <>
Authored: Tue Mar 3 14:01:43 2015 -0600
Committer: Tyler Hobbs <>
Committed: Tue Mar 3 14:01:43 2015 -0600

 doc/cql3/CQL.textile | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/doc/cql3/CQL.textile b/doc/cql3/CQL.textile
index 6085d00..cf074af 100644
--- a/doc/cql3/CQL.textile
+++ b/doc/cql3/CQL.textile
@@ -131,6 +131,8 @@ CQL supports _prepared statements_. Prepared statement is an optimization
that a
 In a statement, each time a column value is expected (in the data manipulation and query
statements), a @<variable>@ (see above) can be used instead. A statement with bind variables
must then be _prepared_. Once it has been prepared, it can executed by providing concrete
values for the bind variables. The exact procedure to prepare a statement and execute a prepared
statement depends on the CQL driver used and is beyond the scope of this document.
+In addition to providing column values, bind markers may be used to provide values for @LIMIT@,
@TIMESTAMP@, and @TTL@ clauses.  If anonymous bind markers are used, the names for the query
parameters will be @[limit]@, @[timestamp]@, and @[ttl]@, respectively.
 h2(#dataDefinition). Data Definition

View raw message