couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Fisher (JIRA)" <>
Subject [jira] Created: (COUCHDB-985) Update handlers can make documents with blank _id
Date Mon, 13 Dec 2010 18:48:02 GMT
Update handlers can make documents with blank _id

                 Key: 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.
You can reply to this email to add a comment to the issue online.

View raw message