Hi Jens

Thank you very much for pointing me into the right direction. I'd like the 
"delete-all-documents-of-given-channel-from-server" approach.
Unfortunately I can't figure out how I'd exactly do this.

I've found the Delete design documents 
<http://docs.couchbase.com/admin/admin/REST/rest-ddocs-delete.html> API 
description, but can't see how I'd pass the channel id as argument?

Hoping you can give me a brief hint.
Thank you very much!!


Am Sonntag, 22. November 2015 19:49:44 UTC+1 schrieb Jens Alfke:
>
>
> On Nov 22, 2015, at 2:31 AM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote:
>
> Well that definitely complicates things. Perhaps another way to reset back 
> to a previous state would be to purge all the documents on the server for a 
> specific channel?
>
>
> Yeah, I’d recommend that too, although it does cause everything to get 
> uploaded back to the server, which can take a while.
>
> (But there’s the problem that for some reason SG hasn’t implemented the 
> _purge call. It’s pretty easy to do a purge using CB Server APIs though: 
> just delete the docs.)
>
> —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/eb27006e-9a3a-4a72-8e02-a567c35c0bce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to