Thanks Jens. I would need to purge the document via the sync_gateway REST API, correct? I couldn't find documentation on how to purge a specific item.
On Wednesday, September 30, 2015 at 9:41:23 PM UTC+2, Jens Alfke wrote: > > > On Sep 30, 2015, at 12:36 PM, Jens Alfke <[email protected] > <javascript:>> wrote: > > There isn’t really a clean way to do that. > > > Actually I just thought of a possibly-better way: on the server side, > instead of updating a doc to mark it as expired, just purge it. That > basically nukes the doc from the server, as though it had never existed. It > will never show up in any future pull replications to any client. As a side > benefit, it also reclaims space in the server database. > > Of course this only works if you never need to access those expired docs > again... > > —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/ca24cb59-f31e-41cf-bca9-9edeef132945%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
