Re: check if a bucket exists

2012-07-09 Thread Ian Plosker
Anand, All possible buckets exist implicitly regardless of whether or not the bucket is storing keys. Listing keys is one way to know whether or not a bucket is storing keys. Your application could store a special object in buckets that it considers existent and check for that key. -- Ian P

Re: check if a bucket exists

2012-07-09 Thread Yousuf Fauzan
You can list buckets. Riak http apI has method to do that. Check the documentation On Jul 9, 2012 6:37 PM, "Anand Hegde" wrote: > I am using the riak gem in ruby, is there any way i can check if a bucket > exists? (without listing all the keys of the bucket?) > > Regards, > Anand Hegde > ianand.i