Ability to mark connection as read only
Open
Nobody has claimed this yet.
type:enhancement
- Dominant language
- PHP
- Stars
- 216
- Forks
- 51
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 2
Description
We can add an option like $safeExecution = true and method unsafeExecute().
When condition is empty and safe execution is enabled then an exception should be thrown.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the database connection execution API and the code path that handles an empty condition. Determine where a safe-execution option and an unsafe execution entry point would belong, then define the exception behavior for empty conditions and cover it with tests for both modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100