This usually works fine, but if you have has_many relationships defined, you may trigger a cascading delete.
这通常会出色地完成,但是如果您定义了has_many关系,则有可能会触发级联(cascading)删除。
The author of Class::DBI has promised a standard solution for this that will allow the programmer to specify that a has_many() relationship should not trigger a cascading delete.
DBI 的作者已经承诺要为此提出一个标准的解决方案,让程序员可以指定某个 has_many() 关系不应触发级联删除。
应用推荐