Answer the question
In order to leave comments, you need to log in
How to set 2 updateAll search parameters in Yii2?
Tell me how to set 2 search parameters for updateAll, example:
updateAll(
['name' => 'Вася', 'last_name' => 'Петров'],
['id' => 1, 'city' => 'Moskow']
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question