tekartik / sembast_sqflite

sembast on top of sqflite
BSD 2-Clause "Simplified" License
13 stars 1 forks source link

.db file ? #4

Closed flutter-painter closed 6 months ago

flutter-painter commented 4 years ago

sembast already provides a .json file through exportDatabase(database). Would sembast_sqflite provide a .db file ? Client is more comfortable running SQL queries

alextekartik commented 4 years ago

Application should not assume any storage format as it could change (although it has not changed since the beginning yet). While it is stored in a SQLite file (with a fixed schema) internal meta information is managed by sembast.

I added information its internal format here: https://github.com/tekartik/sembast_sqflite/blob/master/sembast_sqflite/doc/storage_format.md

flutter-painter commented 4 years ago

Thanks for making this clear. Will stick to original sembast then and will look for a JSON To SQL Converter.