Multiple rows insert with ContentProvider

后端 未结 4 1975
醉话见心
醉话见心 2021-02-02 00:23

I need to make insert of few rows in one transaction. Can I do it with ContentProvider?

4条回答
  •  长发绾君心
    2021-02-02 00:33

    On the client side, ContentResolver supports a bulkInsert() method. Those will not necessarily be processed in a single transaction by the ContentProvider, simply because there may not be any transactions performed by the ContentProvider.

提交回复
热议问题