any alternative SQL for flutter rather than sqflite

3,045

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

Share:
3,045
Mohamed Salah
Author by

Mohamed Salah

Updated on December 12, 2022

Comments

  • Mohamed Salah
    Mohamed Salah over 1 year

    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!

  • Matthew Rideout
    Matthew Rideout over 4 years
    Another option is Hive: pub.dev/packages/hive
  • Dindaka
    Dindaka almost 3 years
    HIVE is a great option, I use it in different projects and the result is amazing