ThingEngineer / PHP-MySQLi-Database-Class

Wrapper for a PHP MySQL class, which utilizes MySQLi and prepared statements.
Other
3.3k stars 1.34k forks source link

Other database types #620

Closed Jbithell closed 7 years ago

Jbithell commented 7 years ago

Are there any plans for this library to also support SQLite, MSSQL, etc. as I understand this library uses PDO?

ricwein commented 7 years ago

This library uses the MySQLi extension which is not able to connect to other databases than MySQL. Therefor no plans to port this library to other extensions exists (as far as I know!).

There was an issue for adapting the core to use PDO instead (as paid contract) some time ago... #471.

Also according to #356 a PDO wrapper exists, but it's an old fork, with no maintenance since one year.

abhishekpunj commented 7 years ago

we modified this library now we can change mysqli to pdo just change on connection name.

harryqt commented 4 years ago

There is wrapper called Medoo, which uses PDO and support almost every database including SQLite.