lib/db.js
function _successCb(err, result) {

          self.couch.use(dbName).destroy(result._id, result._rev, self._handle(cb, {
            dbName: dbName,
            docId: doc._id,
            message: 'deleted'
          }));
        }
function _successCb(err, result) {

          self.couch.use(dbName).destroy(result._id, result._rev, self._handle(cb, {
            dbName: dbName,
            docId: doc._id,
            message: 'deleted'
          }));
        }
function _successCb ( err , result ) { self . couch . use ( dbName ) . destroy ( result . _id , result . _rev , self . _handle ( cb , { dbName : dbName , docId : doc . _id , message : 'deleted' } ) ) ; }
retrieve the document revision and use it to delete the document
retrieve the document revision and use it to delete the document