couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noah Slater (JIRA)" <>
Subject [jira] Created: (COUCHDB-21) _design_docs view
Date Sat, 08 Mar 2008 23:59:46 GMT
_design_docs view

                 Key: COUCHDB-21
             Project: CouchDB
          Issue Type: Bug
            Reporter: Noah Slater
            Priority: Minor


Design docs don't show up in views, so the only way to get a list of them is like this, a
la the built-
in admin web app:

GET /my_awesome_db/_all_docs?startkey="_design/"&endkey="_design/ZZZ"

a built-in _design_docs view would obviate the need for such hackery.


Upon further consideration, I think it would be more useful to provide a means by which design
docs could be 
included in views.  That would allow you to extract some useful information about the views
available in a design 
doc.  E.g. you can return for each design doc an object with view names as keys, and the values
being the 
arguments to the map() calls within the view function.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message