Ripple lets you access the buckets in a way shown:
bucket = Ripple.client.bucket("bucket_name")
bucket.allow_mult = true
質問
I am new to both ripple and riak. Does anyone have an idea, how can I set the bucket properties like
n_val
allow_multi
etc using ripple in my code. I don't want to do it via the curl request:
$ curl -v -XPUT -H "Content-Type: application/json" -d '{"props":{"n_val":5}}'
http://127.0.0.1:8098/riak/test
解決 2
Ripple lets you access the buckets in a way shown:
bucket = Ripple.client.bucket("bucket_name")
bucket.allow_mult = true
他のヒント
You can query and update bucket properties using the Riak Ruby client, which is used by Ripple.