1.0.1 • Published 11 years ago

docparse-find-upload v1.0.1

Weekly downloads
1
License
-
Repository
-
Last release
11 years ago

Docparse Find Upload

Find a docparse upload document in the couchdb database by the upload _id value

Usage

var findUpload = require('docparse-find-upload')
var data = {
  db: <cradle db connection>,
  uploadID: <_id value of a docparse upload document>
}
findUpload(data, function(err, upload) {
  if (err) {
    inspect(err, 'error finding upload by _id')
    return
  }
  inspect(upload, 'found upload')
})