Skip to content

samoconnor/AWSSDB.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

AWS SDB SimpleDB Database interface for Julia

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages