Answer the question
In order to leave comments, you need to log in
Yii. Whether it is possible to make multiple change of records by standard means?
Hello! I have been programming in Yii for more than a year, and then I realize that I am doing something wrong.
How to write change of many records??? Of course, most often the user and the administrator work with the same record in the table, but still ..
Well, suppose I need to selectively ban users in the standard User table by checking the checkbox and pressing the "apply" button. But the essence is not in this, but in the approach itself :) chyadnt?
UPD: Yii 1.15
Answer the question
In order to leave comments, you need to log in
www.yiiframework.com/doc/guide/1.1/en/database.ar#...
updateAll
deleteAll
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question