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

Overhaul of the mysqli interface #36

Open
julmud opened this issue Jan 7, 2023 · 1 comment
Open

Overhaul of the mysqli interface #36

julmud opened this issue Jan 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@julmud
Copy link
Owner

julmud commented Jan 7, 2023

The mysqli interface (file mysqli.php) is riddled with bugs due to its old age. A complete rewrite might be a good idea.

Objectives:

  • Don't mask any error message with '@'.
  • Handle all potential exceptions correctly.
  • Still offer the same interface to the outer world.
  • Maybe use namespaces?
@julmud julmud added the enhancement New feature or request label Jan 7, 2023
@gjnoonan
Copy link
Contributor

Whilst we are overhauling the database side of things I think it would be be worth considering a move to PDO instead of mysqli? This would allow us to support different database drivers too with minimal effort, and without the extra baggage of a third party ORM package.

SQLite 3 support would be a perfect usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants