Answer the question
In order to leave comments, you need to log in
Yii2 - how to store null values?
Good afternoon, I'm interested in the problem that exists in the first version of the framework. I would like to store NULL values in valid columns of database tables, but after mass assignment of model attributes, empty lines get there. How to deal with it and is it worth it at all? Are you using a validator a la empty2null?
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