Creates a MySQL/MariaDB adapter wired to a Hyperdrive binding.
The returned provider creates a transient client for each statement execution. Hyperdrive handles connection pooling under the hood.
Hyperdrive binding
Client factory (e.g. connectionString => mysql.createConnection(connectionString))
connectionString => mysql.createConnection(connectionString)
SQLDatabase-compatible adapter
Creates a MySQL/MariaDB adapter wired to a Hyperdrive binding.
The returned provider creates a transient client for each statement execution. Hyperdrive handles connection pooling under the hood.