阅读背景:

使用MySQL级联进行删除是否安全

来源:互联网 

I'm using the PHP Laravel Framework, but it's a general PHP question. Is it safe to use the MySQL foreign key relation on delete cascade to delete related rows ? Or is it a best practice to do it in PHP ? I find the cascade system realy nice but don't know if it's safe to use it ? Any best practices ?I'm using the PHP Laravel Framework, but it's a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: