The first query of data after initialization needs to be delayed? #369
Replies: 6 comments 8 replies
-
Could you please turn on your log and share your screenshot. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
from log, everything looks good to me. I think there might be problem with the query, may be when you are calling after delay - query is different. Could you log the query before calling the select api and compare between delay and non delay. |
Beta Was this translation helpful? Give feedback.
-
Could you please try updating to the latest version of jsstore ? |
Beta Was this translation helpful? Give feedback.
-
Whenever I reopen my web site, await connection.initDb(dataBase); is called to initialize or reload my database, but every time I pass connection.select for the first time, I cannot query the correct results, it It always returns empty, but I delay the query for 3-5 seconds and it works fine, can anyone provide me with any help?
jsstore version :4.7.2
Beta Was this translation helpful? Give feedback.
All reactions