isar
isar copied to clipboard
Extremely fast, easy to use, and fully async NoSQL database for Flutter
### Steps to Reproduce Wrote this helper class: ```dart final class _Database { Isar? _isar; Future initializeAsync() async { final dir = await getApplicationDocumentsDirectory(); _isar = await Isar.openAsync( schemas: [...
When running `dart run build_runner build --verbose` I get the following errors: ``` [SEVERE] isar_generator on lib/ui/responsive/responsive_layout.dart: This builder requires Dart inputs without syntax errors. However, package:plant_monitor/ui/responsive/responsive_layout.dart (or an existing...
Isar currently only supports in memory SQLite on web. To persist data we need to write a custom [virtual file system VFS](https://www.sqlite.org/vfs.html) that supports persistence. We can either use IndexedDB...
### Steps to Reproduce Using isar to store a big json payload (so a string field). I guess I'm hitting some kind of a limit. ### Expected behavior Library should...
Add a new option to the generator called `propertyMapper`, when enabled it will generate a constant `Map` under `[Type]Schema`. This map will map the dart name of the property to...
**Is your feature request related to a problem? Please describe.** I would like to remove data after a certain time automatically. In my specific case I have some alarms stored...
``` Future reInitRecords() async { emit(SyncInProgress("Reinitialized data".tr())); dbCubit.isar?.clearSync(); } ``` I am trying to Delete All table data using this method. Is it correct? Or is there any method for...
### Steps to Reproduce When I tried to add the `injectable` package to my project, I encountered an issue with `pub get`. ```shall Because isar_generator 3.1.0 depends on analyzer >=4.6.0...
### Steps to Reproduce isar: ^4.0.0-dev.14 [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Illegal argument in isolate message: object is unsendable - Library:'package:isar/isar.dart' Class: _IsarImpl@28212336 (see restrictions listed at `SendPort.send()` documentation for...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...