Ah - thanks - I hadn't realised that I could pass :type to the robject delete 
method.

I'm finding the ruby client (latest sources cloned from Github) to be quite 
reliable  - I have an app which is using most if not all the features, although 
not under any kind of load (I'm actually interested in Riak for its flexibility 
rather than for its resilience, which I realise may be a bit perverse). So far, 
I'm really liking 2.0 :-)

Thanks,

Paul

On 9 Apr 2014, at 17:05, Bryce Kerley <[email protected]> wrote:

> On 9 Apr 2014, at 3:59, Paul Walk wrote:
> 
> However, the only available delete method I can find is via the bucket. This 
> method does not take a bucket-type parameter, so a call to the bucket to 
> delete a given key is actually operating in the wrong namespace - the default 
> one, rather than the bucket-typed one.
> 
> CRDT deletion is handled through the RObject:
> 
> bucket = client.bucket 'maps'
> robject = bucket.get 'my_crdt_name'
> robject.delete type: 'maps'
> 
> I agree that the Ruby client interface for bucket types needs some work: it's 
> functional right now, but not great. Once the push for 2.0 is done, I'd like 
> to make it a bit more monadic *dodges thrown burrito*.
> 
> Bryce
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------------------------------------
Paul Walk
http://www.paulwalk.net
-------------------------------------------






_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to