How to speed up the process when inserting 1000's of records into sqlite using HTML5

后端 未结 5 1958
[愿得一人]
[愿得一人] 2021-01-13 09:58

Iam new to developing HTML5 applications. In this I want to insert 1000\'s of records into sqlite database using HTML5. This process is very slow. How to use BEGIN/COMMIT be

5条回答
  •  不思量自难忘°
    2021-01-13 10:27

    I have actually wrote a small open source javascript module called html5sql.js which solves this very problem. The good news is that html5sql.js is really fast. On the website http://html5sql.com I have a demo which creates a table and inserts 11000 records into that table, usually in less than a second or two. If anyone is still dealing with this issue I recommend checking html5sql.js out.

提交回复
热议问题