From 6ee0c757c387f5e55299e8f6bb433b9c6166ead2 Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Tue, 3 Mar 2015 14:01:43 -0600 Subject: [PATCH] Document bind markers for TIMESTAMP, TLL, and LIMIT Patch by Tyler Hobbs for CASSANDRA-8889 --- doc/cql3/CQL.textile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/cql3/CQL.textile b/doc/cql3/CQL.textile index 6085d00062..cf074afd26 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 @@ (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