cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1097106 - /cassandra/branches/cassandra-0.8/doc/cql/CQL.textile
Date Wed, 27 Apr 2011 13:24:56 GMT
Author: jbellis
Date: Wed Apr 27 13:24:56 2011
New Revision: 1097106

URL: http://svn.apache.org/viewvc?rev=1097106&view=rev
Log:
add INSERT cql doc section
patch by Pavel Yaskevich for CASSANDRA-2533

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=1097106&r1=1097105&r2=1097106&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/doc/cql/CQL.textile (original)
+++ cassandra/branches/cassandra-0.8/doc/cql/CQL.textile Wed Apr 27 13:24:56 2011
@@ -68,6 +68,17 @@ SELECT ... WHERE <CLAUSE> [LIMIT N] ...
 
 Limiting the number of rows returned can be achieved by adding the @LIMIT@ option to a @SELECT@
expression. @LIMIT@ defaults to 10,000 when left unset.
 
+h2. INSERT
+
+_Synopsis:_
+
+bc.
+INSERT INTO <COLUMN FAMILY> (KEY, <col>, <col>, ...) VALUES (<key>,
<val>, <val>, ...) [USING CONSISTENCY <LEVEL];
+
+An @INSERT@ is used to write one or more columns to a record in a Cassandra column family.
No results are returned. 
+
+@INSERT@ works exactly like @UPDATE@ so for information about Column Family and Consistency
Level arguments please take at the @UPDATE@ section.
+
 h2. UPDATE
 
 _Synopsis:_



Mime
View raw message