couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hammond (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-446) allow list function and view function to be in different design docs.
Date Mon, 17 Aug 2009 08:02:14 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743992#action_12743992
] 

Mark Hammond commented on COUCHDB-446:
--------------------------------------

Note this test doesn't use a json response (it is HTML), so it can't use JSON.parse...

> allow list function and view function to be in different design docs.
> ---------------------------------------------------------------------
>
>                 Key: COUCHDB-446
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-446
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Mark Hammond
>             Fix For: 0.10
>
>         Attachments: x_doc_list.patch
>
>
> There has been some discussion on #couchdb how it might be desirable to use a list function
where the list and the view are in separate documents.  Among the use-cases is so a list and
view can use different languages.
> I'm attaching a patch which extends the URL syntax for list views - before my patch,
the last portion of the path must be a view name.  My patch allows for the existing behaviour,
or for the tail to be 2 elements - another design document name *and* the view name.  Includes
a test.

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


Mime
View raw message