From cf468b8a248152662a035b4a701e94c1b0dd012b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 9 Nov 2021 10:33:55 +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 --- src/Mysql/Columns.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mysql/Columns.php b/src/Mysql/Columns.php index f23f888..2d7f8a2 100644 --- a/src/Mysql/Columns.php +++ b/src/Mysql/Columns.php @@ -305,6 +305,7 @@ class Columns extends Component private function structure($table): array|static { if (!isset($this->columns[$table]) || empty($this->columns[$table])) { + var_dump(SqlBuilder::builder(null)->columns($table)); $column = $this->db->createCommand(SqlBuilder::builder(null)->columns($table))->all(); if (empty($column)) { throw new Exception("The table " . $table . " not exists.");