| commit | db1a50544fa29de901da285227d304aa8cafdfd1 | [log] [tgz] |
|---|---|---|
| author | Nolan Lawson <nolan.lawson@gmail.com> | Sun Feb 22 11:09:37 2015 -0500 |
| committer | Nolan Lawson <nolan.lawson@gmail.com> | Sun Feb 22 11:09:44 2015 -0500 |
| tree | 5d16519e5227790f6a7775567dc445bc64485e4d | |
| parent | cd656e001c89e04a1b8e95f126a5e95bc7b1f287 [diff] |
(#3543) - fix filtered replication with a ddoc This should fix the problem where filtered replication with a ddoc was being ignored. Apparently we had no tests for ddoc-filtering in `replicate()`. I tested this against Cloudant and it passed, so hoping it will pass against Couch master as well.
PouchDB was written to help web developers build applications that work as well offline as well as they do online, applications save data locally so the user can use all the features of an app even while offline and synchronise the data between clients so they have up to date data wherever they go.
PouchDB is a free open source project, written in Javascript by these wonderful contributors and inspired by Apache CouchDB.
To get started using PouchDB check out our Documentation and the API Documentation.
If you want to get involved then check out the contributing guide
var db = new PouchDB('dbname'); db.put({ _id: 'dave@gmail.com', name: 'David', age: 68 }); db.changes().on('change', function() { console.log('Ch-Ch-Changes'); }); db.replicate.to('http://example.com/mydb');