reaxdb_dart
2.6.0, released 5 weeks ago by dvillegas.com
Embedded NoSQL database for Dart and Flutter with LSM storage, ACID transactions, and encryption.
What it does
Provides a pure Dart embedded NoSQL database featuring a write-ahead log, queries, indexes, ACID transactions, AES-256-GCM encryption, TTL, and change streams. Runs without native dependencies across mobile, desktop, and the Dart VM.
AI-written summary of version 2.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an embedded NoSQL database in pure Dart with query capabilities and ACID transactions
- You require secure AES-256-GCM encryption for stored data
- You need live updates and change streams to rebuild your UI
Skip it when
- You need web platform support (IndexedDB)
- You require the absolute fastest iteration over everything stored compared to Hive
Strengths
- Every write is flushed to disk before returning by default
- Supports queries, indexes, and ACID transactions
- Pure Dart with no native dependencies and optional background isolate execution
Weaknesses
- Does not run on the web
- Opening takes longer and memory usage grows if keepInMemory is used
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
No native dependencies or code generation required. Add the package to pubspec and initialize with an absolute path or ReaxFlutter.
final db = await ReaxDB.open(path: '/absolute/path/to/data');
await db.put('user:1', {'name': 'Ada', 'age': 36});
final user = await db.get<Map<String, dynamic>>('user:1');Alternatives
Packages that do the same job and could replace reaxdb_dart.
Works with
Packages commonly used together with reaxdb_dart: ones it builds on, ones built on it, and its own family.