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
I just discovered Pony ORM and as reading through the documentation I stumbled across the missing "ON UPDATE CASCADE" part. I found "ON DELETE CASCADE" part, but not for the UPDATE.
So I have multiple tables with a explicit defined primary key which is not an integer and so it could be changed regulary.
How does Pony handle this in a relationship?
For example I have a table which has the primary key role_level = PrimaryKey(str) and a table ProductRoles which has a Set('RoleLevel')
Regards
Markus
The text was updated successfully, but these errors were encountered:
I just discovered Pony ORM and as reading through the documentation I stumbled across the missing "ON UPDATE CASCADE" part. I found "ON DELETE CASCADE" part, but not for the UPDATE.
So I have multiple tables with a explicit defined primary key which is not an integer and so it could be changed regulary.
How does Pony handle this in a relationship?
For example I have a table which has the primary key
role_level = PrimaryKey(str)
and a table ProductRoles which has aSet('RoleLevel')
Regards
Markus
The text was updated successfully, but these errors were encountered: