In this Flutter course we are going to learn about local data storage using Hive package which help us to create NoSQL database, it internally make use of key–value and work well both with Android, iOS, Desktop and Web.
Hive is a lightweight and blazing fast key–value database written in pure Dart. Inspired by Bitcask.
Features
Cross platform: mobile, desktop, browser
Great performance (see benchmark)
Simple, powerful, & intuitive API
Strong encryption built in
NO native dependencies
Batteries included
Store objects
Hive not only supports primitives, lists and maps but also any Dart object you like. You need to generate a type adapter before you can store objects
Hive was written with Flutter in mind. It is a perfect fit if you need a lightweight datastore for your app. After adding the required dependencies and initializing Hive, you can use Hive in your project:
What are boxes?
All data stored in Hive is organized in boxes. A box can be compared to a table in SQL, but it does not have a structure and can contain anything.
For a small app, a single box might be enough. For more advanced problems, boxes are a great way to organize your data. Boxes can also be encrypted to store sensitive data.
Specification: Flutter Hive NoSQL Database
|
User Reviews
Be the first to review “Flutter Hive NoSQL Database” Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $14.99 |
---|---|
Provider | |
Duration | 2.5 hours |
Year | 2022 |
Level | Beginner |
Language | English ... |
Certificate | Yes |
Quizzes | No |
$19.99 $14.99
There are no reviews yet.