Recently I came accross this nice database due to my flutter related work you can give it a quick read.
What is Isar?
Isar is a fast, fully asynchronous NoSQL database optimized for Flutter and Dart. It runs locally on mobile, desktop, and web platforms with a native Dart API. Isar is designed to be simple, scalable, performant, and developer-friendly, with built-in support for reactive queries and complex filtering.
Features of Isar:
• NoSQL document database designed for embedded use (runs inside your app with zero external dependencies).
• Supports schema definition using Dart classes with annotations.
• Provides full reactive queries, UI updates automatically on data changes.
• Compact, high-performance transactions for fast and safe reads/writes.
• Full text search with token based indexing for searching text fields.
• Composite and multi-entry indexes for structured queries.
• Supports JSON serialization and deserialization.
• Comes with a visual inspector for debugging database contents in debug mode.
• Cross-platform support for Android, iOS, Web, Desktop platforms.
Transactions
• Write operations must be wrapped in writeTxn() transactions.
• Read operations are asynchronous and safe.
• Transactions ensure atomicity and integrity of data.
Learn from the official documentation: https://isar.dev/tutorials/quickstart.html
Top comments (0)