You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ty...@apache.org on 2015/03/03 21:02:33 UTC
cassandra git commit: Document bind markers for TIMESTAMP, TLL,
and LIMIT
Repository: cassandra
Updated Branches:
refs/heads/cassandra-2.0 72c6ed288 -> 6ee0c757c
Document bind markers for TIMESTAMP, TLL, and LIMIT
Patch by Tyler Hobbs for CASSANDRA-8889
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/6ee0c757
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/6ee0c757
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/6ee0c757
Branch: refs/heads/cassandra-2.0
Commit: 6ee0c757c387f5e55299e8f6bb433b9c6166ead2
Parents: 72c6ed2
Author: Tyler Hobbs <ty...@datastax.com>
Authored: Tue Mar 3 14:01:43 2015 -0600
Committer: Tyler Hobbs <ty...@datastax.com>
Committed: Tue Mar 3 14:01:43 2015 -0600
----------------------------------------------------------------------
doc/cql3/CQL.textile | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/6ee0c757/doc/cql3/CQL.textile
----------------------------------------------------------------------
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