README.md in ddbcli-0.3.4 vs README.md in ddbcli-0.3.5
- old
+ new
@@ -1,22 +1,23 @@
# ddbcli
ddbcli is an interactive command-line client of Amazon DynamoDB.
+[![Gem Version](https://badge.fury.io/rb/ddbcli.png)](http://badge.fury.io/rb/ddbcli)
[![Build Status](https://drone.io/bitbucket.org/winebarrel/ddbcli/status.png)](https://drone.io/bitbucket.org/winebarrel/ddbcli/latest)
## Installation
$ gem install ddbcli
If you are not using RubyGems, you can use the script files that depend on only Ruby.
-[ddbcli-0.3.4](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.4)
+[ddbcli-0.3.5](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.5)
```sh
-wget https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.4
-sudo cp ddbcli-0.3.4 /usr/local/bin/ddbcli
+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
```
## Usage
@@ -39,12 +40,31 @@
## Demo
![ddbcli demo](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-demo.gif)
+## GROUP BY (Aggregate)
+
+```
+ap-northeast-1> select all gender from employees
+ -> where birth_date begins_with '1960'
+ -> | group_by(:gender) {|i| puts "DEBUG: 'i' contains: #{i[0, 3].inspect} ..."\; i.length };
+DEBUG: 'i' contains: [{"gender"=>"M"}, {"gender"=>"M"}, {"gender"=>"M"}] ...
+DEBUG: 'i' contains: [{"gender"=>"F"}, {"gender"=>"F"}, {"gender"=>"F"}] ...
+{
+ "M": 546,
+ "F": 355
+}
+// 2 rows in set (0.20 sec)
+```
+
## 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
+
+ $ echo 'bind "^R" em-inc-search-prev' >> ~/.editrc
## Help
```
##### Query #####