Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "ON UPDATE CASCADE" available? #683

Open
Markus- opened this issue Mar 26, 2023 · 0 comments
Open

No "ON UPDATE CASCADE" available? #683

Markus- opened this issue Mar 26, 2023 · 0 comments

Comments

@Markus-
Copy link

Markus- commented Mar 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant