سؤال

The python-couchdb package (used as import couchdb) provides a db.view() function to access a couchdb "_view", but how do you access a "_show" or "_list" function?

This was asked before (http://stackoverflow.com/questions/5491851/couchdb-and-python-how-to-use-show-and-list-functions) and 1 of the authors said that it was now included in the library, but he doesn't mention HOW to use it (db.show() doesn't work) and I can't find any documentation for it online.

Can anyone let me know the function/method - or - point me at a page that explains how to do it. I'm particularly interested in "_show".

هل كانت مفيدة؟

المحلول

Currently, you need to get couchdb-python from repository: there are implemented Database methods to call _show, _list and _update functions.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top