ddbcli 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +9 -3
- data/bin/ddbcli +1 -1
- data/lib/ddbcli/cli/help.rb +4 -1
- metadata +1 -1
data/README
CHANGED
@@ -31,7 +31,11 @@ https://bitbucket.org/winebarrel/ddbcli
|
|
31
31
|
--retry-interval=SECOND
|
32
32
|
--debug
|
33
33
|
-h, --help
|
34
|
-
|
34
|
+
...
|
35
|
+
shell> ddbcli # show prompt
|
36
|
+
|
37
|
+
== Help
|
38
|
+
|
35
39
|
##### Query #####
|
36
40
|
|
37
41
|
SHOW TABLES
|
@@ -49,12 +53,15 @@ https://bitbucket.org/winebarrel/ddbcli
|
|
49
53
|
[, INDEX index1_name (attr1 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
|
50
54
|
, INDEX index2_name (attr2 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
|
51
55
|
, ...]
|
52
|
-
)
|
56
|
+
) READ = num, WRITE = num
|
53
57
|
creates a table
|
54
58
|
|
55
59
|
DROP TABLE table_name
|
56
60
|
deletes a table
|
57
61
|
|
62
|
+
ALTER TABLE table_name READ = num, WRITE = num
|
63
|
+
updates the provisioned throughput
|
64
|
+
|
58
65
|
GET {*|attrs} FROM table_name WHERE key1 = '...' AND ...
|
59
66
|
gets items
|
60
67
|
|
@@ -144,5 +151,4 @@ https://bitbucket.org/winebarrel/ddbcli
|
|
144
151
|
.timeout SECOND? displays a timeout second or changes it
|
145
152
|
.version displays a version
|
146
153
|
|
147
|
-
shell> ddbcli # show prompt
|
148
154
|
|
data/bin/ddbcli
CHANGED
data/lib/ddbcli/cli/help.rb
CHANGED
@@ -17,12 +17,15 @@ CREATE TABLES table_name (
|
|
17
17
|
[, INDEX index1_name (attr1 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
|
18
18
|
, INDEX index2_name (attr2 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
|
19
19
|
, ...]
|
20
|
-
)
|
20
|
+
) READ = num, WRITE = num
|
21
21
|
creates a table
|
22
22
|
|
23
23
|
DROP TABLE table_name
|
24
24
|
deletes a table
|
25
25
|
|
26
|
+
ALTER TABLE table_name READ = num, WRITE = num
|
27
|
+
updates the provisioned throughput
|
28
|
+
|
26
29
|
GET {*|attrs} FROM table_name WHERE key1 = '...' AND ...
|
27
30
|
gets items
|
28
31
|
|