Skip to content Skip to sidebar Skip to footer

How To Display All Documents In Couchdb Using Python

I have recently started using Python. I have a database called student in Couchdb. I have attributes in it like [english, maths, science, total, percentage]. I want to display all

Solution 1:

import couchdb
couch = couchdb.Server('localhost:5984/')

db = couch['newtweets']
count = 0
for docid in db.view('_all_docs'):
    i = docid['id']
#and you are in each document

Post a Comment for "How To Display All Documents In Couchdb Using Python"