[ https://issues.apache.org/jira/browse/COUCHDB-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381027#comment-14381027 ]
ASF subversion and git services commented on COUCHDB-2645: ---------------------------------------------------------- Commit 2543fae4683c863d50c18fc041468a64005f8d32 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=2543fae ] 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)