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