Skip to content
Browse files

updated readme

  • Loading branch information...
1 parent cfd4720 commit 417026697949cacdd2fbc374bc95d605d67db9be @softprops committed Apr 24, 2010
Showing with 6 additions and 2 deletions.
  1. +6 −2 README.md
View
8 README.md
@@ -37,7 +37,7 @@ documents have meta info which ryu uses as keys to access documents
val meta = ^('bucket, "key", Some("vclock"), Some(
Seq(Link('bucket, Some("otherkey"), "linkTag"))
- ))
+ ), "application/json")
Did I just misspell 'clock'?
@@ -51,6 +51,8 @@ a `vclock` is a unique hash of your document version
`links` are a navigation utility used for traversing to other documents (think html anchors)
+`content type` is the type hint given to riak to store and retrive data
+
`documents` have data (expected flavor is jsón)
### more operations
@@ -67,7 +69,7 @@ a `vclock` is a unique hash of your document version
val sagatLink = sagat asLink("boss")
// ref a key for dan
- val dan = ^('fighters, "dan", None, Some(Seq(sagatLink)))
+ val dan = ^('fighters, "dan") + sagatLink
// save or update sagat
db(sagat, """{"hp":10}""")
@@ -147,6 +149,8 @@ contribute git://github.com/softprops/ryu.git
* all methods return Option values `db(^('fighters, "dan")).getOrElse(default)`
* extract Link objects when fetching documents
+* support multiple/arbitrary content types
+* document storage without a provided key
* module for json <-> string conversions
* use keep-alive for multi stage processing
* finalize api

0 comments on commit 4170266

Please sign in to comment.
Something went wrong with that request. Please try again.