Hello Koders
I am facing a problem I couldn’t fix my self after a lot of testing, I have a ‘csv’ file containing more than 7500+ row and each raw have two values.
my problem is when ever I try to store this list into a TinyDB database my app freezes for minutes and becomes unresponsive, I’ve used these blocks to store the list.
I would use online cloud platform like firebase.
However, if it is an offline app, just use file component.
If you use clock, still, it needed a long time to run.
Hi @Hassan
Thank you very much I’ve been struggling for days for this solution with no lock, and here you are provided a great solution to my problem, Thank you again and again
All the records -total=7887- was successfully saved in TinyDB with no lag and no freeze and in about 100 seconds!!
another solution is to convert the csv table into a list of lists using the list from csv atble block and store the complete list of lists in only one tag in TinyDB
then later if you like to get a value, use the lookup in pairs block How does the lookup in pairs block work?