On Mon, Feb 24, 2014 at 10:53 PM, Jens Alfke <[email protected]> wrote:
> > There should be a 'compact' method on the Database class. (I'm not very > familiar with the Android/Java API.) > > Yup, there is. Here is a link to the javadocs<http://www.couchbase.com/autodocs/couchbase-lite-android-1.0b2/index.html> -- see the Database class and scroll down to see the compact() method. > 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. > -- 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/CACSSHCFt0cifXcO4X2teHMYZDF6cYgbK3nm%3DKzYOOo6HkEJU1A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
