Answer the question
In order to leave comments, you need to log in
How to updateAll yii2 if the table has a composite key?
Hi, in fact, you need to update the table with a composite key
, here is a common example where 1 key
SpLicenseUl::updateAll(['active' => 0], ['in', 'id', $license]);
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