Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/ecakubi enhance delete function #1017

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eca-kubi
Copy link

Problem:

The existing delete function in the MysqlDb class lacked appropriate error handling mechanisms. Specifically, it did not throw exceptions or provide meaningful feedback when the SQL statement execution failed.
This Pull Request addresses the issue with this change:

  • Enhanced the error handling in the delete function by throwing exceptions when the SQL statement execution fails.

Testing:
Unit tests were updated to reflect these changes and all tests pass successfully. Also performed manual testing to confirm the correct exceptions are thrown in appropriate scenarios.

Please review the changes and provide feedback.

stormwalkerec added a commit to stormwalkerec/php-mysqli-database-class that referenced this pull request Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant