Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 481 Bytes
** Create two dummy objects **
** Create a third object, linking to the first two as 'parent' **
"** Walk the Parent Link **"
[[#<Riak::RObject http://127.0.0.1:8098/raw/test5/item2 [application/json]:"{'item': 'two'}">,
#<Riak::RObject http://127.0.0.1:8098/raw/test5/item1 [application/json]:"{'item': 'one'}">]]
"** Remove one of the links **"
"** Walk the Parent Link again **"
[[#<Riak::RObject http://127.0.0.1:8098/raw/test5/item2 [application/json]:"{'item': 'two'}">]]