Sql query in a separate thread
-
Hi,
I have a QML application which needs to run an SQL query which takes a long time to finish (approx 1 minute). I wanted to use WorkerScript do do run the query in a separate thread, so that the main UI won't freeze. But it seems to me it is not possible to use the LocalStorage API in the WorkerScript.
How should I solve this issue? Is the only possibility to forward the work to a C++ function and run it in a thread?
Thank you!