Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dev: DB transactions after v4.3

未关闭
#6,909 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

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

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

描述

database dev

We need to discuss:

  • 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

主要语言
PHP
星标
6k
派生
2k
平均合并
1 天 22 小时
30 天内合并 PR
59

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codeigniter4/CodeIgniter4 的其他 Issue

查看 codeigniter4/CodeIgniter4 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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