Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-985

Update handlers can make documents with blank _id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.0.1
    • None
    • None
    • OS X, built using brew

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              codesturgeon Nick Fisher
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: