From ffd685d8b422b0f9a8c9081e07c71fcadd4facf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 3 Aug 2021 11:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Db.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Database/Db.php b/Database/Db.php index 3cad157d..ab56348d 100644 --- a/Database/Db.php +++ b/Database/Db.php @@ -242,6 +242,7 @@ class Db implements ISqlBuilder * @param Connection|null $connection * @return bool|int * @throws ConfigException + * @throws Exception */ public function delete(?Connection $connection = null): bool|int { @@ -255,6 +256,7 @@ class Db implements ISqlBuilder * @param null $connection * @return bool|int * @throws ConfigException + * @throws Exception */ public static function drop(string $table, $connection = null): bool|int { @@ -283,6 +285,7 @@ class Db implements ISqlBuilder * @param Connection|NULL $connection * @return mixed * @throws ConfigException + * @throws Exception */ public static function showCreateSql(string $table, Connection $connection = NULL): mixed { @@ -297,6 +300,7 @@ class Db implements ISqlBuilder * @param Connection|NULL $connection * @return bool|int|null * @throws ConfigException + * @throws Exception */ public static function desc(string $table, Connection $connection = NULL): bool|int|null {