Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

any alternative SQL for flutter rather than sqflite [closed]

I was wonder if there any alternative way to store offline data in dependencies database rather than using sqflite!! if any one knows any SQL or even nosql libraries for flutter that's is not complicated like sqflite please mention it!

like image 987
Mohamed Salah Avatar asked Jul 10 '19 20:07

Mohamed Salah


People also ask

Which database is better for Flutter?

ObjectBox DB is a highly performant lightweight embedded database for storing objects in Flutter with Dart.

Can I use SQL with Flutter?

Flutter apps can make use of the SQLite databases via the sqflite plugin available on pub.

Is SQLite and sqflite same?

SQLite is a relational database management system contained in a C library. SQLite is not a client-server database engine. sqflite the package provides us to implement SQLite into our flutter app. This package provides various methods to insert, update, edit, and fetch queries from the database.

Can we connect Flutter to database?

Flutter provides many packages to work with the database. The most used and popular packages are: sqflite database: It allows to access and manipulate SQLite database. Firebase database: It will enable you to access and manipulate the cloud database.


1 Answers

This is a alternative, use a NoSql database.

Sembast

Yet another NoSQL persistent store database solution for single process io applications. The whole document based database resides in a single file and is loaded in memory when opened. Changes are appended right away to the file and the file is automatically compacted when needed.

Works on Dart VM and Flutter (no plugin needed, 100% Dart). Inspired from IndexedDB, DataStore, WebSql, NeDB, Lawndart...

Supports encryption using user-defined codec.

This is a link when you can get the library: https://pub.dev/packages/sembast

like image 70
Dindaka Avatar answered Sep 28 '22 03:09

Dindaka