You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Noah Slater (JIRA)" <ji...@apache.org> on 2008/03/09 00:59:46 UTC

[jira] Created: (COUCHDB-21) _design_docs view

_design_docs view
-----------------

                 Key: COUCHDB-21
                 URL: https://issues.apache.org/jira/browse/COUCHDB-21
             Project: CouchDB
          Issue Type: Bug
            Reporter: Noah Slater
            Priority: Minor


RFE

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.


[jira] Updated: (COUCHDB-21) _design_docs view

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz updated COUCHDB-21:
------------------------------------

    Issue Type: Wish  (was: Bug)

> _design_docs view
> -----------------
>
>                 Key: COUCHDB-21
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-21
>             Project: CouchDB
>          Issue Type: Wish
>          Components: HTTP Interface
>            Reporter: Noah Slater
>            Priority: Minor
>
> RFE
> 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.


[jira] Updated: (COUCHDB-21) _design_docs view

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz updated COUCHDB-21:
------------------------------------

    Component/s: HTTP Interface

> _design_docs view
> -----------------
>
>                 Key: COUCHDB-21
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-21
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Noah Slater
>            Priority: Minor
>
> RFE
> 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.