AWS SDB SimpleDB Database interface for Julia
Julia
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE.md
README.md
REQUIRE
appveyor.yml

README.md

AWSSDB

AWS SimpleDB Interface for Julia

Build Status

using AWSSDB

aws = AWSCore.aws_config()

sdb_create_domain(aws, "my-db")

sdb_put(aws, "my-db", "key1", Pair["a1" => "1", "a2" => "2"])

@test sdb_get(aws, "my-db", "key1") == Pair["a1" => "1", "a2" => "2"]

db = SimpleDB(aws, "my-db")
db["key2"] = Pair["a1" => "1", "a2" => "2"]
@test db["key2"] == Pair["a1" => "1", "a2" => "2"]

for (key, attributes) in sdb_select(aws, "select * from `my_db`")
    println("$key: $attributes"
end

sdb_delete_item(aws, "my-db", "key1")

sdb_delete_domain(aws, "my-db")