Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Number of pending changes to be replicated by PouchDB

$
0
0

My app uses PouchDB (and Ionic 1) to replicate it's data from a local DB to a server DB as soon as the network is available (through a live&retry replication).

I would like to display on the screen the number of changes waiting for replication (including 0 when everything has been replicated).

Is there some way to do that with PouchDB?

(If this is not feasible, a fallback solution would be to have a "dirty" flag, meaning that everything is replicated or not. Any idea for this?)

Thanks in advance!


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>