-
-
Notifications
You must be signed in to change notification settings - Fork 61
add abstract methods for error(), errorno(), query() to XoopsDatabase #1571
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
add abstract methods for error(), errorno(), query() to XoopsDatabase #1571
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds essential abstract methods to the XoopsDatabase class to standardize database error handling and query execution across different database drivers.
- Introduces abstract methods for error handling (
error(),errno()) - Adds standardized query execution methods (
query(),exec()) - Provides backward compatibility through
queryF()method and pagination helper
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Since the update, there has been this error: |
|
I'm resolving it as we speak, in #1572 |
|
Great, thank you! |
|
In order to be able to work while waiting for the correction, I added: |
|
It's merged now, so please give it a try and let me know if you see any strange things and bugs! |
|
Everything seems to be working! |
No description provided.