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
{{ message }}
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
If I where you, I would avoid usage of function BaseActiveRecord::isPrimaryKey()
And use your own implementaion instead.
The text was updated successfully, but these errors were encountered:
andrey-denisenko
changed the title
Fail when parent model has more than on PRIMARY KEY
Fail when parent model has more than one PRIMARY KEY
Jun 16, 2020
Hello,
In short words:
If my model has more than one PK like 'id' and 'timestamp'.
Then your code is failing here:
But frankly speaking I'm not sure that bug on your side.
Thats why I've rised same question on YII2 project
And where I described my problem in all details.
If I where you, I would avoid usage of function BaseActiveRecord::isPrimaryKey()
And use your own implementaion instead.
The text was updated successfully, but these errors were encountered: