Answer the question
In order to leave comments, you need to log in
How to make multiple update or insert in Yii1?
Hello.
Given :
Answer the question
In order to leave comments, you need to log in
Tabular input
Manual on the link is quite abstract, but conveys the essence. Going through the data, look at the meta_key and determine whether you need to update the record or add it. Transactions can be used to avoid partial processing.
yii has an updateall function. She is best suited for this task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question