pouchdb-list
A PouchDB plug-in that allows you to re-use your CouchDB list functions on the client side.
Last updated 22 days ago by garethbowen .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pouchdb-list 
SYNC missed versions from official npm registry.

pouchdb-list

A PouchDB plug-in that allows you to re-use your CouchDB list functions on the client side. A browser version is available.

API

NodeJS package name: pouchdb-list

Browser object name: window.List

First, make sure you understand how list functions work in CouchDB. A good start is the CouchDB guide entry on lists.

List.list(listPath[, options[, callback]])

Runs a list function on a view. Both are specified via the listPath parameter.

listPath: a url of the form "designDocName/listFuncName/viewName"

options: this object is supplemented with defaults until a complete CouchDB request object has been formed, which is then passed into the list function.

Returns: When succesful, the list function's result in the form of a CouchDB response object. Otherwise, an error object with one of the following statuses: 400, 404, 406 or 500.

Source

PouchDB Server and its sub-packages are distributed as a monorepo.

For a full list of packages, see the GitHub source.

License

The Apache 2 License. See the LICENSE file for more information.

Current Tags

  • 4.2.0                                ...           latest (22 days ago)

12 Versions

  • 4.2.0                                ...           22 days ago
  • 4.1.0                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           2 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 3
This Week 34
This Month 57
Last Day 23
Last Week 19
Last Month 107
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |