Answer the question
In order to leave comments, you need to log in
How to update only the data that came in yii?
Data comes from the form, how to update only the data that came?
is there something like $model->updateByPk($id, $model->attributes) ? (it is not an option to prescribe each field, because if it is empty, then emptiness is filled)
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