codeigniter4 / codeigniter4/CodeIgniter4

Dev: DB transactions after v4.3

Open
#6,909 0 comments 0 reactions 0 assignees View on GitHub
database dev
Dominant language
PHP
Stars
6k
Forks
2k
Avg merge
1d 11h
Merged PRs (30d)
73

Description

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

Contributor guide

Open the contributing guide

Research direction

Review the unresolved checklist items about resetTransStatus() and model validation with transactions, then read the linked issues #6917 and #8767 and the referenced pull request discussion. Done is not defined in this issue because it combines several transaction-policy questions that still need decisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.