1 | <?php |
||
22 | class PDOFirebirdDriver extends PDODriverAbstract{ |
||
23 | |||
24 | /** |
||
25 | * The PDO drivername which is being used in the DSN |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $drivername = 'firebird'; |
||
30 | |||
31 | /** |
||
32 | * Returns a DSN string using the given options |
||
33 | * @see http://php.net/manual/en/ref.pdo-firebird.connection.php |
||
34 | * |
||
35 | * @return string DSN |
||
36 | */ |
||
37 | protected function getDSN():string { |
||
54 | |||
55 | /** |
||
56 | * Establishes a database connection and returns the connection object |
||
57 | * |
||
58 | * @return \chillerlan\Database\Drivers\DBDriverInterface |
||
59 | * @throws \chillerlan\Database\DBException |
||
60 | */ |
||
61 | public function connect():DBDriverInterface{ |
||
81 | |||
82 | /** |
||
83 | * Returns the last insert id (if present) |
||
84 | * |
||
85 | * Firebird -> SQLSTATE[IM001]: driver does not support lastInsertId() |
||
86 | * |
||
87 | * @link http://php.net/manual/pdo.lastinsertid.php |
||
88 | * @return string |
||
89 | * @codeCoverageIgnore |
||
90 | */ |
||
91 | protected function insertID():string { |
||
94 | |||
95 | } |
||
96 |