Is there a way to make foreach loop faster while inserting data into database inside a loop?

后端 未结 0 1165
生来不讨喜
生来不讨喜 2021-01-16 18:13

I\'m inserting message into database for each member inside a foreach loop which makes the application slow as it is going to run 200+ times to add message for

相关标签:
回答
  • 消灭零回复
提交回复
热议问题