> On Apr 5, 2016, at 8:19 PM, Karthik Rajagopalan <[email protected]> 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

-- 
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/F3532FA5-3494-4E78-A516-7B9508174EE8%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to