You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FactoryGenerator uses getPk(), pk() methods or id, _id fields. But my record can have not all of, and i will get error while inserting record (smth like field cannot be null).
FactoryGenerator uses getPk(), pk() methods or id, _id fields. But my record can have not all of, and i will get error while inserting record (smth like field cannot be null).
So may be implement some interface or add support for yii2, it uses method getPrimaryKey(), which return array of fields of pk? https://www.yiiframework.com/doc/api/2.0/yii-db-baseactiverecord#getPrimaryKey()-detail
The text was updated successfully, but these errors were encountered: