From 2bb862c320987bcc696765f4f5d8e3029db44371 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Tue, 10 Jan 2012 13:59:50 -0600 Subject: [PATCH] Add help for INSERT to cqlsh. Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3718. --- bin/cqlsh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/bin/cqlsh b/bin/cqlsh index 72906b4ffb..0f02a0c836 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -1021,6 +1021,33 @@ class Shell(cmd.Cmd): Cassandra documentation. """ + def help_insert(self): + print """ + INSERT INTO + ( , [, [, ...]] ) + VALUES ( , [, [, ...]] ) + [USING CONSISTENCY + [AND TIMESTAMP ] + [AND TTL [USING CONSISTENCY