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

Support onUpdate and onDelete Options #68

Open
davidsparkles opened this issue Jun 18, 2019 · 0 comments
Open

Support onUpdate and onDelete Options #68

davidsparkles opened this issue Jun 18, 2019 · 0 comments
Assignees

Comments

@davidsparkles
Copy link
Collaborator

Package

db

Info

@david Was mir schonmal auffällt ist, dass am @manytomany keine Parameter erlaubt sind. Aktuell nutze ich:
@ManyToOne((type) => User, { eager: true, onDelete: "CASCADE", onUpdate: "CASCADE" })
David [vor 2 Stunden]
FYI: kann sein, dass du ein bisschen Zeug vom DbGeneralPool zum ORM migrieren musst.

David [vor 2 Stunden]
onDelete: "CASCADE", onUpdate: "CASCADE" funktionieren nicht für Postgres.
Used only in MySQL
https://typeorm.io/#/decorator-reference/column

Eugene [vor 2 Stunden]
ich habe mich vertippt, @manytoone
Und Postgres unetrstützt es und bisher hatten wir das auch und fide ich mega wichtig

@davidsparkles davidsparkles self-assigned this Jun 18, 2019
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