[
https://issues.apache.org/jira/browse/COUCHDB-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Shorin closed COUCHDB-985.
------------------------------------
Resolution: Duplicate
> Update handlers can make documents with blank _id
> -------------------------------------------------
>
> Key: COUCHDB-985
> URL: https://issues.apache.org/jira/browse/COUCHDB-985
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core, JavaScript View Server
> Affects Versions: 1.0.1
> Environment: OS X, built using brew
> Reporter: Nick Fisher
> Priority: Minor
>
> Make the following update handler:
> '''
> function(doc, req){
> return [{}, 'done\n'];
> }
> '''
> Then do a POST to the handler. You will then have a document with a blank _id.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira