couchdb-dev mailing list archives

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


ASF subversion and git services commented on COUCHDB-2645:

Commit f6d4901bc5717c17397d8baec27e3501d92c1fdb in couchdb-mango's branch refs/heads/2645-return-doc-id
from [~tonysun83]
[;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.


> Mango should return the created design doc
> ------------------------------------------
>                 Key: COUCHDB-2645
>                 URL:
>             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

View raw message