This commit is contained in:
as2252258@163.com
2021-03-27 02:59:15 +08:00
parent ea563e8066
commit 0e10ee2f75
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ class Db
$table = [' const TABLE = \'select * from %s where REFERENCED_TABLE_NAME=%s\';'];
return $db->createCommand((new Sql())
return $db->createCommand((new Query())
->select('*')
->from('INFORMATION_SCHEMA.KEY_COLUMN_USAGE')
->where(['REFERENCED_TABLE_NAME' => $table])