Hello Istvan,

Couchbase 2.5.x has a hidden view named "_all_docs" which will do what you
want.  The view was removed from 3.x

>From the command line you could curl it:

curl -u Administrator:Password
http://cbdb01.domain.com:8092/mybucket/_all_docs

Change mybucket to whatever your bucket name is, possibly default.  Result
looks like:

{
  "total_rows":9949305,
  "rows":[
    {
      "id":"my_key_name",
      "key":"my_key_name",
      "value":{
        "rev":"1-000eb5b7f7f48a250000000000000000"
      }
    },
...
  ]
}

Cheers,
Warren

On Tue, Nov 4, 2014 at 4:55 PM, Istvan Szukacs <[email protected]> wrote:

> Hi,
>
> What is the best way of listing all of the keys either by command line
> tool or using the SDK (preferably a language like Python or Ruby).
>
> Thanks,
> Istvan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Couchbase" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to