couchdbkit

Retrieve documents from CouchDB based on unique field

How can I retrieve document from CouchDB based on its field, not by ID? The problem is, documents in my system should have numeric IDs, so I add a field called doc_id to saved documents. Native CouchDB ids are too long for me. How can I retrieve document with doc_id = 10, for example? ...

How do you get a list of all the _design documents for a given database in CouchDB?

I have searched all over and can't figure out how to get a list of all the design documents for a specific database in CouchDB? ...