Embedded NoSQL document database for Dart and Flutter, stored in a single file
open sourceBSD-3-Clausefree
sembast (Simple Embedded Application Store database) is a NoSQL document database for Dart VM and Flutter apps by Alexandre Roux Tekartik. The whole database lives in one file that is loaded into memory when opened; changes are appended to the file right away and it is compacted automatically when needed. It is pure Dart, so it runs on every platform with no plugin, supports encryption through a user-defined codec, runs on the web through sembast_web and on top of SQLite through sembast_sqflite, with the same stores, records, queries and transactions API everywhere.
Problems it solves
- store JSON documents locally in my Flutter app without a native plugin
- persist app data to a single file in a Dart command-line tool
- keep an encrypted local database in a Flutter app on every platform, web included
Features
- single-file document store, loaded into memory
- append-only writes with automatic compaction
- encryption through a user-defined codec
- web support through sembast_web
- SQLite storage through sembast_sqflite
- stores, records, queries and transactions
Limitations
Alternatives
The same job
These do what sembast does.
- sqflite SQLite plugin for Flutter apps on Android, iOS and macOS
