On Feb 24, 2014, at 10:50 PM, Hasan Gharehasanloo <[email protected]> wrote:
> How to compact database? There should be a 'compact' method on the Database class. (I'm not very familiar with the Android/Java API.) > And what is the use of traces of deleted document? I mean how to use them? For replication -- If there were no trace left of a deleted document, then if you replicated from another database that contained that document, it would reappear. The deletion is a permanent record that you deleted the doc. And if you replicate to another database, the deletion will propagate. (The details: deleting a document is really just adding a new revision whose contents consist only of a "_deleted":true property.) --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/263A878C-4A0D-4A03-968C-E4CF8D0E9346%40couchbase.com. For more options, visit https://groups.google.com/groups/opt_out.
