> On Apr 5, 2016, at 8:19 PM, Karthik Rajagopalan <
kar...@gmail.com> wrote:
>
> Hi Folks,
>
> I like to know the best practice to "purge" documents which fall under 'logger' category on a periodic basis in local db once these documents are replicated to the server.
We don’t have good support for this use case yet, although we plan to improve that in version 1.3.
> Should I just iterate through all documents and purge which are 'logger' category and is not contained in getPendingDocumentIds()? Should this be done once the push replication become 'idle’?
For now that would be the best approach. (You can use a view query to iterate the ‘logger’ documents.)
—Jens