1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Correctly munge MySQL queries

This commit is contained in:
J. King 2018-12-21 17:37:22 -05:00
parent b4de56a64e
commit 5a133b795a

View file

@ -52,6 +52,9 @@ class PDODriver extends Driver {
}
}
public function prepareArray(string $query, array $paramTypes): \JKingWeb\Arsse\Db\Statement {
return new PDOStatement($this->db, $query, $paramTypes);
}
public static function driverName(): string {
return Arsse::$lang->msg("Driver.Db.MySQLPDO.Name");