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 摘要。