From 05e38eadbeb3de19e5b26003c2b401e00bb71df4 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 18 Oct 2026 00:08:23 +0200 Subject: =?UTF-8?q?sortie=20de=20vendor=20du=20d=C3=A9p=C3=B4t,=20oubli=20?= =?UTF-8?q?dans=20config-template.ini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dbal/src/Driver/SQLite3/Connection.php | 109 --------------------- 1 file changed, 109 deletions(-) delete mode 100644 vendor/doctrine/dbal/src/Driver/SQLite3/Connection.php (limited to 'vendor/doctrine/dbal/src/Driver/SQLite3/Connection.php') diff --git a/vendor/doctrine/dbal/src/Driver/SQLite3/Connection.php b/vendor/doctrine/dbal/src/Driver/SQLite3/Connection.php deleted file mode 100644 index 1e9af93..0000000 --- a/vendor/doctrine/dbal/src/Driver/SQLite3/Connection.php +++ /dev/null @@ -1,109 +0,0 @@ -connection->prepare($sql); - } catch (\Exception $e) { - throw Exception::new($e); - } - - assert($statement !== false); - - return new Statement($this->connection, $statement); - } - - public function query(string $sql): Result - { - try { - $result = $this->connection->query($sql); - } catch (\Exception $e) { - throw Exception::new($e); - } - - assert($result !== false); - - return new Result($result, $this->connection->changes()); - } - - public function quote(string $value): string - { - return sprintf('\'%s\'', SQLite3::escapeString($value)); - } - - public function exec(string $sql): int - { - try { - $this->connection->exec($sql); - } catch (\Exception $e) { - throw Exception::new($e); - } - - return $this->connection->changes(); - } - - public function lastInsertId(): int - { - $value = $this->connection->lastInsertRowID(); - if ($value === 0) { - throw NoIdentityValue::new(); - } - - return $value; - } - - public function beginTransaction(): void - { - try { - $this->connection->exec('BEGIN'); - } catch (\Exception $e) { - throw Exception::new($e); - } - } - - public function commit(): void - { - try { - $this->connection->exec('COMMIT'); - } catch (\Exception $e) { - throw Exception::new($e); - } - } - - public function rollBack(): void - { - try { - $this->connection->exec('ROLLBACK'); - } catch (\Exception $e) { - throw Exception::new($e); - } - } - - public function getNativeConnection(): SQLite3 - { - return $this->connection; - } - - public function getServerVersion(): string - { - return SQLite3::version()['versionString']; - } -} -- cgit v1.2.3