mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 07:14:55 +00:00
e92bda5373
- Fix handling of binary data and long strings - Simplify handling of socket connections - Fix coverage
19 lines
611 B
PHP
19 lines
611 B
PHP
<?php
|
|
/** @license MIT
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
declare(strict_types=1);
|
|
namespace JKingWeb\Arsse\Db\PostgreSQL;
|
|
|
|
class PDOStatement extends \JKingWeb\Arsse\Db\PDOStatement {
|
|
public static function mungeQuery(string $query, array $types, ...$extraData): string {
|
|
return Statement::mungeQuery($query, $types, false);
|
|
}
|
|
|
|
/** @codeCoverageIgnore */
|
|
public static function buildEngineException($code, string $msg): array {
|
|
// PostgreSQL uses SQLSTATE exclusively, so this is not used
|
|
return [];
|
|
}
|
|
}
|