Good morning.

 

First I would like to introduce myself as the FNG.  Hi there.

 

In attempting to solve a problem with a particular relational database, I
realized that the solution was simply to avoid the problem.  Long story
short, research led me to Riak, and I'm quite glad that it did.  I have a
question regarding Links and Link Traversal.  Can Links span buckets?  

 

Is the following possible?  If so, are cross-bucket links the best method
for these relationships?

 

/riak/dishes/saucer_a                                   -- with
</riak/combos/place_setting_a >; "member_of"

/riak/dishes/dish_a                                        -- with
</riak/combos/place_setting_a >; "member_of"

/riak/dishes/bowl_a                                       -- with
</riak/combos/place_setting_a >; "member_of"

 

/riak/combos/dish_set_a                            -- with
</riak/dishes/saucer_a; "includes", </riak/combos/place_setting_a >;
"member_of"

/riak/combos/place_setting_a                 -- with
</riak/combos/dish_set_a>; "includes"

 

If the above is both possible and appropriate -- how might one implement a
commit hook that, when a link is added to an item that defines an "includes"
relationship, the "member_of" relationship is automatically added?

 

-m

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to