Bi-directional Map in Riak

67 Views Asked by At

I want to store a structure similar to bi-directional map in Riak. I have two buckets with inversed keys and values. I want to remove the record in the second bucket when it was removed from the first. As I understand, it can't be done with the hooks. How can I do that?

1

There are 1 best solutions below

1
On

What you're asking for seems to be referential integrity constraints, which Riak does not support. What exactly are you trying to accomplish?