couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2645) Mango should return the created design doc
Date Tue, 31 Mar 2015 15:49:54 GMT

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

ASF subversion and git services commented on COUCHDB-2645:
----------------------------------------------------------

Commit f6d4901bc5717c17397d8baec27e3501d92c1fdb in couchdb-mango's branch refs/heads/2645-return-doc-id
from [~tonysun83]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=f6d4901 ]

Return ddoc id and index name

We return the ddoc id and index name for easier deletion
from the dashboard. We don't return the full design doc because
we want to hide that abstraction of dealing with design docs from
the user.

FIXES COUCHDB-2645


> Mango should return the created design doc
> ------------------------------------------
>
>                 Key: COUCHDB-2645
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2645
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Robert Kowalski
>
> Currently mango returns  {"result":"created"}  after a creation of an index.
> It would be cool if it would return at least the id of the created design doc, or the
whole created design doc, because if I want to delete an index, I need the id and name.
> Currently the workaround is listing all indexes, filtering for the one I just created,
grabbing the id and then delete the index.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message