Open forestdb database file

58 views
Skip to first unread message

Rustam Yuzmukhametov

unread,
May 8, 2015, 9:03:44 AM5/8/15
to mobile-c...@googlegroups.com
Hi, 

When I used sqlite data storage I opened cblite database file using any sqlite database navigator.
Is it possible to open forestdb database file?

Thank you!

Jens Alfke

unread,
May 8, 2015, 11:55:03 AM5/8/15
to mobile-c...@googlegroups.com

On May 8, 2015, at 6:03 AM, Rustam Yuzmukhametov <ryuzmuk...@gmail.com> wrote:

When I used sqlite data storage I opened cblite database file using any sqlite database navigator.
Is it possible to open forestdb database file?

Yes — fopen( ) ;-)

It’s a very new file format so there aren’t any friendly tools yet. There’s a very simple database dump tool in the forestdb repo that you can build, but it pretty much just dumps out keys and binary data. The actual values stored in a Couchbase Lite database are in a binary format that’s not going to be easy to decipher.

There is a Couchbase Lite Viewer app for Mac OS that might be more like what you’re looking for. If you build it yourself, linking against CBL 1.1, it’ll be able to open ForestDB-based databases.

—Jens
Reply all
Reply to author
Forward
0 new messages