Hi Folks,

I just started using couchbase lite and playing with it. I have set of 
documents which fall under 'logger' category and the rest under different 
categories. These documents are written on a periodic basis. I have 
configured push replication to be continuous. 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.  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'? 

-Karthik

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/f8fe3249-9c1d-4b5a-ac98-0e52785641c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to