README.md in ddbcli-0.3.5 vs README.md in ddbcli-0.3.6

- old
+ new

@@ -9,16 +9,17 @@ $ gem install ddbcli If you are not using RubyGems, you can use the script files that depend on only Ruby. -[ddbcli-0.3.5](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.5) +[ddbcli-0.3.6](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.6) ```sh -wget https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.5 -sudo cp ddbcli-0.3.5 /usr/local/bin/ddbcli -sudo chmod 755 /usr/local/bin/ddbcli +wget https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.6 +mv ddbcli-0.3.6 ddbcli +chmod 755 ddbcli +./ddbcli # show prompt ``` ## Usage ```sh @@ -59,11 +60,11 @@ ## Use Global Secondary Indexes * [https://gist.github.com/winebarrel/7938971](https://gist.github.com/winebarrel/7938971) -## Enabling ctrl-r (reverse-search-history) on OS X +## Enable ctrl-r (reverse-search-history) on OS X $ echo 'bind "^R" em-inc-search-prev' >> ~/.editrc ## Help @@ -119,11 +120,11 @@ DELETE FROM table_name WHERE key1 = '...' AND .. DELETE ALL FROM table_name WHERE [WHERE attr1 = '...' AND ...] [ORDER {ASC|DESC}] [LIMIT limit] deletes items ("DELETE" can delete only one record. Please use "DELETE ALL", when you update more than one.) -SELECT {*|attr1,attr2,...|COUNT(*)} FROM table_name [USE INDEX (index_name)] [WHERE key1 = '...' AND ...] [ORDER {ASC|DESC}] [LIMIT limit] +SELECT {*|attr1,attr2,...|COUNT(*)} FROM table_name [USE INDEX (index_name)] [WHERE key1 = '...' AND ...] [HAVING attr1 = '...' AND ...] [ORDER {ASC|DESC}] [LIMIT limit] SELECT ALL {*|attr1,attr2,...|COUNT(*)} FROM table_name [WHERE attr1 = '...' AND ...] [LIMIT limit] SELECT segment/total_segments {*|attr1,attr2,...|COUNT(*)} FROM table_name [WHERE attr1 = '...' AND ...] [LIMIT limit] queries using the Query/Scan action see http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html @@ -160,13 +161,14 @@ Query (SELECT) = | <= | < | >= | > | BEGINS_WITH | BETWEEN see http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html#DDB-Query-request-KeyConditions -Scan (SELECT ALL) +Scan (SELECT ALL), QueryFilter (HAVING) = | <> | != | <= | < | >= | > | IS NOT NULL | IS NULL | CONTAINS | NOT CONTAINS | BEGINS_WITH | IN | BETWEEN - see http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html#DDB-Scan-request-ScanFilter + see http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html#DDB-Scan-request-ScanFilter, + http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html#DDB-Query-request-QueryFilter ##### Pass to Ruby/Shell ##### Ryby @@ -209,9 +211,5 @@ .retry NUM? displays number of times of a retry or changes it .retry_interval SECOND? displays a retry interval second or changes it .timeout SECOND? displays a timeout second or changes it .version displays a version ``` - -## Link - -* [RubyGems.org site](http://rubygems.org/gems/ddbcli)