Created
March 26, 2012 22:48
-
-
Save johnzablocki/2210378 to your computer and use it in GitHub Desktop.
View enumeration with the Couchbase Python Client Library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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