Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Use Embedded NoSQL instead of SQLite for Persistence #8

Open
rizalkotlin opened this issue Feb 9, 2019 · 6 comments
Open

Use Embedded NoSQL instead of SQLite for Persistence #8

rizalkotlin opened this issue Feb 9, 2019 · 6 comments

Comments

@rizalkotlin
Copy link

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

@long1eu
Copy link
Owner

long1eu commented Feb 11, 2019

My suggestion is to build a platform plugin for desktop. You only need a few methods.

@rodydavis
Copy link

you can use SQLite with FFI support on desktop right?

@long1eu
Copy link
Owner

long1eu commented Aug 27, 2019

Awesome idea. I was thinking about this also.

@rodydavis
Copy link

flutter_moor does this on the experimental branch!

@talamaska
Copy link

talamaska commented Aug 30, 2019

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.

@iapicca
Copy link

iapicca commented Mar 6, 2021

since nobody mentioned hive I will

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants