Can couchdb list all the views created in the design doc? If so what is the query? Futon does it somehow, but I can’t seem to figure it out from there code.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just retrieve design document you like and enumerate all keys of
viewsfield. Futon works in a little other way since it shows all views from all design documents, but principle is the same. Note, that design documents are not some sort of magic – they are same documents as others, just have some internal agreements with CouchDB about fields structure and processing workflow.