This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Use Embedded NoSQL instead of SQLite for Persistence #8
Comments
My suggestion is to build a platform plugin for desktop. You only need a few methods. |
you can use SQLite with FFI support on desktop right? |
Awesome idea. I was thinking about this also. |
flutter_moor does this on the experimental branch! |
Dart:ffi is far from ready. From their readme there are significant limitations when using it, like only for x64 or working only in Jit compiling, but that's not how flutter work. It looks like sembast is plausible solution when working in desktop, but still it will have performance degradation when working with large data set. I was hoping for mongodb embedable release for flutter, but still no news there. |
since nobody mentioned hive I will |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We already have persistent embedded document-oriented NoSQL database for Dart which support multi platform like objectdb or sembast. Using SQLite gives us downsize, too many implementation for every platform.
On mobile we can use sqflite, on dart vm we use dart-sqlite, but on Flutter Desktop we can't use both of them, dart-sqlite can't be used since Flutter doesn't support reflection/mirror
The text was updated successfully, but these errors were encountered: