> On Feb 17, 2015, at 2:32 PM, Sandra <[email protected]> wrote:
> 
>    In case I want to delete all the couchbase  database from my mobile device 
> because, let's say, I want to do a sync from another bucket, Is there any way 
> to purge the complete database instead of purging document by document?
>    Note that I want to delete the database locally without affecting the data 
> in the server.

Just delete the database and then re-open it. In Objective-C that would be 
something like:
        [db deleteDatabase: &error];
        db = [mgr databaseNamed: dbName];

—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/A6B1C5E7-A4CD-4D70-80BA-2839CA90E036%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to