| commit | 96687d6acfefcc42c1c7592f6fff9a4f2ce4917b | [log] [tgz] |
|---|---|---|
| author | Nolan Lawson <nolan.lawson@gmail.com> | Tue Jul 22 17:37:03 2014 -0700 |
| committer | Nolan Lawson <nolan.lawson@gmail.com> | Fri Aug 01 22:31:36 2014 -0400 |
| tree | 4ac9f12ae7afab570803af65054e321602cd5f2d | |
| parent | fc83fd93b1c082c72a9d8971fc2cc123b9da6ac1 [diff] |
(#2466 #2475) - replicate using changes with include_docs Also, to fix #2475 we use open_revs="all" so that the URL is not too long.
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: 66 }); db.changes().on('change', function() { console.log('Ch-Ch-Changes'); }); db.replicate.to('http://example.com/mydb');