codeigniter4 / codeigniter4/CodeIgniter4

Dev: DB transactions after v4.3

未关闭
#6,909 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
database dev
主要语言
PHP
星标
6k
派生
2k
平均合并
1 天 11 小时
30 天内合并 PR
73

描述

We need to discuss:

- [x] Allow manual DB transactions even when `DBDebug` is true.
- #6917
- `DBDebug` will be deprecated in the future if possible.
- Perhaps this setting should not be eliminated.
- This setting is widely used and needs a long period of time before removing it.
- [ ] Add `resetTransStatus()` method ?
- #8767
- [ ] Model validation error and transaction. See https://forum.codeigniter.com/showthread.php?tid=84887&pid=403200#pid403200

See https://github.com/codeigniter4/CodeIgniter4/pull/6886#issuecomment-1325774111, https://github.com/codeigniter4/CodeIgniter4/pull/6886#issuecomment-1324182519

贡献指南

打开贡献指南

调研方向

检查关于 resetTransStatus() 和使用事务进行模型验证的未解决清单项,然后阅读相关 issue #6917 和 #8767 以及所引用的 pull request 讨论。此 issue 未定义 Done,因为它合并了多个仍需决策的事务策略问题。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
database
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。