> On Jul 7, 2015, at 3:39 PM, Brendan Duddridge <[email protected]> wrote:
> 
> I know I could probably do this in code by reading all the metadata 
> separately from the regular data and dumping it to a separate file, but it 
> would be super easy to simply copy the metadata database independently of the 
> regular data database and bang, you have an empty database with everything 
> setup already for you ready to enter your regular data.

I think you’d be better off writing it to a different file. That way you 
control the file format and exactly what the file contains. Couchbase Lite 
database files aren’t really meant as an interchange format; they’re more of an 
implementation detail of how the data gets stored locally.

—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/488115C7-88C7-4C03-8A5A-0AD29B7199B0%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to