Quick couchdb reminders

Using your browser to access the admin interface;

http://192.168.1.99:5984/_utils/

Looking at a view for a specific database with your browser. In this case the database is “stock_values” and the view is “all_stocks” (yes you need the “_view” and the “all” part of it);

http://192.168.1.99:5984/stock_values/_view/all_stocks/all

I was really getting tripped up by figuring out the corresponding python version which would be;

for ro in db.view(‘all_stocks/all’): print ro.id

About jay

I'm trying to build something interactive where I can learn from others and hopefully share useful knowledge too. thecapacity@gmail.com
This entry was posted in code, couchdb, python. Bookmark the permalink.

One Response to Quick couchdb reminders

Comments are closed.