Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
mysql
An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications. (by amphp)
As for writing SQL database adapters with an efficient API, look at https://github.com/amphp/postgres/tree/f52cc35ef02ee4ad709083e0432c2288d4df7de0 - it doesn't implement the PDO API, but it shows that performance can be achieved in userland, when the architectural paradigm is the right one for the job.
Yes. See https://github.com/yajra/pdo-via-oci8 for example.
Here's an example of a PHP-only driver that talks to MySQL: https://github.com/amphp/mysql/tree/master/src
Related posts
- SQLX MSSQL Connection String Problem
- SQLx 0.7 released! Offline mode usability improvements, performance fixes and major upgrades across the board!
- MariaDB / SQLx - "Unknown Authentication Plugin"
- What do you think about macros that use remote source to calculate its result?
- Ask HN: Why is there no database with a functional query language?