We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
destroy() 方法的逻辑应该是: 首先删除已有的关联对象,再删除当前对象。是否删除关联�� �象,要根据关联的 on_delete 设置来决定。 destroy() 应该有一个 $use_transaction 参数。该参数为 true 时,会启用事务。 但在删除关联对象时,这个参数应该指定为 false。这样可以把嵌套的删除操作封装 在同一个事务中。
Original issue reported on code.google.com by dualf...@gmail.com on 18 Apr 2008 at 7:12
dualf...@gmail.com
The text was updated successfully, but these errors were encountered:
Original comment by dualf...@gmail.com on 18 Apr 2008 at 7:18
Sorry, something went wrong.
Original comment by dualf...@gmail.com on 19 Apr 2008 at 8:28
Original comment by dualf...@gmail.com on 19 Apr 2008 at 8:30
Original comment by dualf...@gmail.com on 5 May 2008 at 7:32
No branches or pull requests
Original issue reported on code.google.com by
dualf...@gmail.com
on 18 Apr 2008 at 7:12The text was updated successfully, but these errors were encountered: