Home Documentation Download Pricing Buy Now

[Closed] how configure @ORM\JoinColumn(..., onDelete="CASCADE")

0 votes

Hi,
How configure how configure @ORM\JoinColumn(..., onDelete="CASCADE") ?
I mean... ON DELETE CASCADE in sql statment.
for example :
CONSTRAINT FOREIGN KEY (...) REFERENCES ... (jobAbbr) ON DELETE CASCADE ON UPDATE CASCADE
(not in doctrine)
Thank you in advance.
Oda

asked Sep 7, 2015 in Solved by oda (120 points)
recategorized Oct 13, 2015 by ludek.vodicka

1 Answer

0 votes

Unfortunately we can't help you with SQL statements. It depends on ORM (in your case Doctrine) how schema files are translated to SQL.

In case you need help with such topic please use stackoverflow.com site.

Thanks!
Ludek

answered Sep 7, 2015 by ludek.vodicka Skipper developer (140,530 points)
...