Your Account
Community
Topics (Upcoming)
More |
View story
Foreign key's onDelete for dummies
http://www.symforc.com/post/2008/07/10/Foreign-keys-onDelete...
Submitted by
narko
2 months, 3 weeks, 6 days, 11 hours agoAny modern relational database engine supports the onDelete and onUpdate attributes on foreign keys. Propel and Doctrine of
course allows to define it in the schema file (yaml or xml) and I believe it is important to explicitly set it. Restrict mode
??Better do nothing than something stupid.??
The default behaviour is ON DELETE RESTRICT. This...
Tags: none
|