I'm on phonegap. Could you translate what you mean when you say "set its documentIDS property" ?
Is there an attribute (i.e. "document_ids") to pass along with "source," "target," "continuous" and those? And populate it with a JSON stringified arrary of doc ids? slim On Friday, September 26, 2014 11:36:03 AM UTC-4, Jens Alfke wrote: > > > On Sep 26, 2014, at 7:40 AM, Seung Chan Lim <[email protected] > <javascript:>> wrote: > > If I purge the docs, what's the best practice for later getting them back? > (i.e. get them re-replicated from the sync gateway?) > > > In 1.0.2 it's a bit awkward; you'll need to create a new pull replication > and set its documentIDs property. > > There is a branch feature/subset that makes this easier by adding a method > -[CBLReplication pullDocumentIDs:] so you can ask an existing pull > replication to bring in any documents you want. (Disclaimer: it hasn't been > tested much yet.) > > —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/a5ad552a-5c0b-4e87-b3fa-bad16498a262%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
