"So,welcome back to Learn Web and to today we are to learn "How to Use Tiny DB in Kodular".Now, let's directly get into it.
How to use Tiny DB in Kodular Creator?
1.What is Tiny DB?
A tiny DB is a component provided to us in Kodular Creator.This component is used to store data in storage of Device.It saves a data string in storage of device and which we can retrieve then using the tag or key we used to store data .Tiny DB is found in the storage options in Kodular in sidebar in creator. We have to use different tags and keys to retrieve data string.Now you might have understood what is tiny DB and why it is called tiny DB.
2.Need of Tiny DB:
As you know that in Kodular made app if closed and Opened again it can't remember any variable which is set in previous session of User.That's why we can't perform some function due to this.So,for this we use Tiny DB to store value of a variable in our app. So that, the value of variable is stored and can be retrieved when app opened again.
3.Example of projects to use Tiny DB:
1.On login Screen.
2.To store user chosen language.
3. For store a value for switch.
And there are also many other projects in which we can use Tiny DB. Now we move to our next step how to implement Tiny DB in Kodular.
4.How to implement Tiny DB in Kodular?
Step 1: Open your project in which you want to use Tiny DB.
Step 2: Look for storage option in Sidebar of creator page.
Step 3: Now you can see Tiny DB, so just drag and drop this to viewer.
Now you have implemented Tiny DB to your project Successfully.
5.Blocks in Tiny DB component:
Here, we are going to discuss the main blocks and what they perform...
Block 1
Clear All: This block clears all the values and tags of a DB.
Comments
Post a Comment