cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1096915 - /cassandra/branches/cassandra-0.8/doc/cql/CQL.textile
Date Tue, 26 Apr 2011 21:26:26 GMT
Author: jbellis
Date: Tue Apr 26 21:26:26 2011
New Revision: 1096915

URL: http://svn.apache.org/viewvc?rev=1096915&view=rev
Log:
s/UPDATE/DELETE/ where applicable

Modified:
    cassandra/branches/cassandra-0.8/doc/cql/CQL.textile

Modified: cassandra/branches/cassandra-0.8/doc/cql/CQL.textile
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/doc/cql/CQL.textile?rev=1096915&r1=1096914&r2=1096915&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/doc/cql/CQL.textile (original)
+++ cassandra/branches/cassandra-0.8/doc/cql/CQL.textile Tue Apr 26 21:26:26 2011
@@ -139,15 +139,15 @@ The column family name follows the list 
 h3. Consistency Level
 
 bc. 
-UPDATE ... [USING <CONSISTENCY>] ...
+DELETE ... [USING <CONSISTENCY>] ...
 
 Following the column family identifier is an optional "consistency level specification":#consistency.
 
 h3(#deleterows). Specifying Rows
 
 bc. 
-UPDATE ... WHERE KEY = keyname1
-UPDATE ... WHERE KEY IN (keyname1, keyname2)
+DELETE ... WHERE KEY = keyname1
+DELETE ... WHERE KEY IN (keyname1, keyname2)
 
 The @WHERE@ clause is used to determine which row(s) a @DELETE@ applies to.  The first form
allows the specification of a single keyname using the @KEY@ keyword and the @=@ operator.
 The second form allows a list of keyname terms to be specified using the @IN@ notation and
a parenthesized list of comma-delimited keyname terms.
      



Mime
View raw message