This commit is contained in:
2021-11-09 10:59:29 +08:00
parent 4d7c9fdd17
commit e186ebd54c
-1
View File
@@ -305,7 +305,6 @@ 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.");