DynamoDB Command Line Interface
$ npm install bikke --save
$ bikke get --table <TableName> \
--field <field1>,<field2>,<field3> \
--where user_id:<HashKey> \
--where timestamp/N:<RangeKey>
$ bikke query --table <TableName> \
--where user_id:<HashKey> \
(--where timestamp/N.LT:<RangeKey> \)
--limit 10
$ bikke query --table <TableName> \
--index-name <IndexName> \
--where user_id:<HashKey> \
(--where timestamp/N.GT:<RangeKey> \)
--limit 10
$ bikke update --table <TableName> \
--where user_id:<HashKey> \
(--where timestamp/N:<RangeKey> \)
--set name/S:John \
--set age/N:20 \
--set updated_at/S:2014-12-22 00:18:20
$ bikke put --table <TableName> \
--set user_id/N:1201 \
--set name/S:John \
--set age/N:20
$ bikke delete --table <TableName> \
--where user_id:<HashKey> \
--where timestamp/N:<RangeKey>
$ bikke scan --table <TableName>
- Fork it ( https://github.com/inouet/bikke/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request