pouchdb-changes-filter

8.0.1 • Public • Published

pouchdb-changes-filter

Plugin to add the ability to use the "filter", "selector", "doc_ids", "query_params", and "query" fields in the changes(), replicate(), and sync() APIs.

This is extract as a separate plugin because 1) it's fairly heavyweight, and 2) it contains eval(), which some environments disallow. So if you're not using filtered changes/replication, then you don't need this module.

Usage

npm install pouchdb-changes-filter
var PouchDB = require('pouchdb');
var changesFilter = require('pouchdb-changes-filter');
PouchDB.plugin(changesFilter);

For full API documentation and guides on PouchDB, see PouchDB.com. For details on PouchDB sub-packages, see the Custom Builds documentation.

Source

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i pouchdb-changes-filter

Weekly Downloads

15,500

Version

8.0.1

License

Apache-2.0

Unpacked Size

29.2 kB

Total Files

7

Last publish

Collaborators

  • jcoglan
  • albaherreriasdev
  • jan
  • daleharvey
  • pouchdb-user
  • garethbowen
  • garrensmith
  • nolanlawson
  • commandoline
  • willholley