I saw a few pointers to this topic, but I couldn’t really conclude.
We have a turnover of documents (updates, deletes, inserts) on the server and we wish only to sync the latest one and sync a deletion, if a document is becoming irrelevant.
The problem is twofold, the local database on the phones grows as it keeps the revision of deleted documents.
And if a new client comes in is downloads the entire revision tree of deleted documents on the server. (I also tried _purge, didn’t help)
What’s the best way to keep the local database sleek and delete documents once and for all?
Thanks and sorry if this question is somewhat redundant.