On Apr 7, 2016, at 1:11 PM, Todd Freese 
<[email protected]<mailto:[email protected]>> wrote:

+1 on this improvement. That would be very helpful to me too.

This is available on the master branch of the iOS repo; here’s the 
commit<https://github.com/couchbase/couchbase-lite-ios/commit/a937881a53f37d2b9886f7b43dce5a2ed84aaf07>.

In a nutshell: if you set “purgePushed” to true in the customProperties of a 
CBLReplication, the replicator will purge docs from the database shortly after 
they’re successfully uploaded to the server. (Obviously you probably want to 
set up a filter too, otherwise all the docs in the database will end up being 
purged…)

—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/0CCD5683-4CC9-4BC4-80BD-5E1BF7379129%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to