tostore
3.6.3, released 3 days ago by toway.world
Local data engine providing key-value, SQL/NoSQL tables, vector embeddings, and hybrid text search.
What it does
ToStore is a local data engine supporting structured tables, key-value storage, vector embeddings, and full-text search. It offers cross-platform offline storage, ACID transactions, automatic schema evolution, encryption, and reactive queries.
AI-written summary of version 3.6.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building local-first apps requiring complex queries, relations, and full-text or vector search.
- Implementing on-device RAG or AI agent memory requiring hybrid retrieval and embeddings.
- Needing an offline-capable database with encryption and multi-space data isolation.
Skip it when
- You only need a simple, lightweight key-value store and prefer a smaller dependency footprint.
- Your project relies purely on a cloud backend and does not require local persistence or vector searching.
Strengths
- Unified API combining structured tables, key-value, vector search, and full-text search.
- Cross-platform support across mobile, desktop, and web.
- Built-in data encryption and reactive query streams for local UI updates.
Weaknesses
- Relatively new package with a massive scope that may increase binary size or complexity.
- Requires managing specific schema definitions and query configurations.
Setup
- Kind
- FFI (native library)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Add to pubspec.yaml and initialize via ToStore.open().
final db = await ToStore.open();
await db.setValue('user_profile', {'name': 'John', 'age': 25});
final profile = await db.getValue('user_profile');Alternatives
Packages that do the same job and could replace tostore.
- drift
If you want a robust, type-safe SQLite database builder for Flutter without the specialized vector and hybrid search engines.
99Compare - hive_ce
If you are looking for a fast, lightweight pure-Dart key-value and box database.
96Compare - sqflite
If you prefer traditional, raw SQLite access on mobile platforms.
96Compare
Works with
Packages commonly used together with tostore: ones it builds on, ones built on it, and its own family.