Skip to content

Can sembast's db file readed at native side? #381

Answered by alextekartik
lanistor asked this question in Q&A
Discussion options

You must be logged in to vote

Sembast db could be read on the native side. If you use sembast (io), it is a simple text file of json lines. The format is described here: https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/storage_format.md

So you will likely have to implement your own native parser and loader.

If you use sembast_sqflite, the format is similar but on a sqlite database that you could open from the iOS side.

Of course the proprietary internal format could change (although it has never change for 7 years!)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lanistor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants