https://github.com/pouchdb/pouchdb-show
A PouchDB plug-in that allows you to re-use your CouchDB show functions on the client side.
https://github.com/pouchdb/pouchdb-show
Last synced: 12 months ago
JSON representation
A PouchDB plug-in that allows you to re-use your CouchDB show functions on the client side.
- Host: GitHub
- URL: https://github.com/pouchdb/pouchdb-show
- Owner: pouchdb
- Created: 2015-08-19T08:50:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T22:33:53.000Z (almost 9 years ago)
- Last Synced: 2024-04-12T18:02:37.851Z (about 2 years ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 2
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pouchdb-show
============
[](https://travis-ci.org/pouchdb/pouchdb-show)
[](https://david-dm.org/pouchdb/pouchdb-show)
[](https://david-dm.org/pouchdb/pouchdb-show#info=devDependencies)
A PouchDB plug-in that allows you to re-use your CouchDB show functions
on the client side. A browser version is available.
TODO: rst -> md, update & restructure
```rst
.. _pouchdb-show-plug-in:
PouchDB Show plug-in
====================
+----------------------+-----------------+
| NodeJS package name: | `pouchdb-show`_ |
+----------------------+-----------------+
| Browser object name: | ``window.Show`` |
+----------------------+-----------------+
First, make sure you understand how show functions work in CouchDB. A
good start is `the CouchDB guide entry on shows`_.
.. _pouchdb-show: https://www.npmjs.org/package/pouchdb-show
.. _the CouchDB guide entry on shows: http://guide.couchdb.org/draft/formats.html
.. js:function:: Show.show(showPath[, options[, callback]])
Similar to the :js:func:`List.list` function, but then for show
functions. Only differences are documented.
:param string showPath: specifies the show (and optionally the
document) to use. Has the following form:
``designDocName/showName[/docId]``
```