const lastSeqSynced = localStorage.getItem("last_seq");
const localDb = new PouchDB("my_db")
return Promise
.resolve(localDb.changes({
since: lastSeqSynced
}).then(changes => {
return changes.results.length;
}));
178800cookie-checkPouchDb: Get change count since last synchronisation