Skip to content

Instantly share code, notes, and snippets.

@johnzablocki
Created March 26, 2012 22:48
Show Gist options
  • Save johnzablocki/2210378 to your computer and use it in GitHub Desktop.
Save johnzablocki/2210378 to your computer and use it in GitHub Desktop.
View enumeration with the Couchbase Python Client Library
import couchbase
cb = couchbase.Server("192.168.1.131:8091", "", "")
bucket = cb.bucket("default")
rows = bucket.view("_design/breweries/_view/all_breweries")
for row in rows:
print row
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment