How to bulk insert or update in sqlite android?

This question already has an answer here:

  • Improve INSERT-per-second performance of SQLite? 10 answers

  • i just want to insert 1000's

    I assume this is one time action, and if so, simply skip this step completely and provide pre-filled database instead. There're libs that can help you with the task of setting your DB from assets like https://github.com/jgilfelt/android-sqlite-asset-helper and others.

    链接地址: http://www.djcxy.com/p/19776.html

    上一篇: 用主键快速构建表格

    下一篇: 如何批量插入或更新在SQLite的Android?