Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
DynamoDB API for Clojure
Clojure

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/rotary
test/rotary/test
.gitignore
README.md
project.clj

README.md

Rotary

A Clojure client for Amazon's DynamoDB database.

Installation

Add the following dependency to your Clojure project:

[org.clojars.crowdflower/rotary "0.3.0"]

Simple Example

(def aws-credential {:access-key "myAccessKey", :secret-key "mySecretKey"})
(get-item aws-credential "MyTable" "somePrimaryKey")
(query aws-credential "AnotherTable" 22 `(> 13392) :limit 100 :count true)
(update-item aws-credential "MyFavoriteTable" [36 263] {"awesomeness" [:add 20] "updated" [:put 1339529420]})
(put-item aws-credential "RandomTable" {"myHashKey" 777 "theRangeKey" 3843 "someOtherAttribute" 33} :return-values "ALL_OLD")

Documentation

License

Copyright (©) 2012 James Reeves
Modifications (©) 2012 Matthew Gordon (CrowdFlower)
Modifications (©) 2012 Ivan Toshkov

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.