Removing link from children to parent object

Joshua Partogi joshua.java at gmail.com
Sun Feb 6 01:39:38 EST 2011


Hi all,

I have a link between Parent object and Child objects
e.g:

Parent
-- Child1
-- Child2
-- Child3

Now when I delete Parent, I want the links from Child to Parent to be
removed as well.

I can traverse/loop through all the Children that Parent have and remove the
link one by one, but I was thinking if there is a more elegant way to do it
in Riak that I don't know.

I am using the Ruby Riak/Ripple library.

Thanks for your help.

Kind regards,
Joshua.

-- 
http://twitter.com/jpartogi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110206/c66ca8f3/attachment.html>


More information about the riak-users mailing list