From 8b217f217f31e920528d168d9f6e7f285f24465d Mon Sep 17 00:00:00 2001 From: Ronan Chilvers Date: Thu, 6 Feb 2020 20:22:50 +0000 Subject: [PATCH] Don't hard code MySQL any more --- src/QueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryBuilder.php b/src/QueryBuilder.php index 7a75e9a..817bf8c 100644 --- a/src/QueryBuilder.php +++ b/src/QueryBuilder.php @@ -210,7 +210,7 @@ protected function newBuilder() { // @todo Don't hardcode mysql return new \ClanCats\Hydrahon\Builder( - 'mysql', + $this->connection->getAttribute(PDO::ATTR_DRIVER_NAME), $this->generateCallback() ); }