lgy 1 month ago
parent
commit
cd071579e4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jcjyhr/vendor/topthink/think-orm/src/db/connector/Dm.php

+ 2 - 2
jcjyhr/vendor/topthink/think-orm/src/db/connector/Dm.php

@@ -15,7 +15,7 @@ namespace think\db\connector;
 
 use PDO;
 use think\db\PDOConnection;
-use think\db\Query;
+use think\db\BaseQuery;
 
 /**
  * mysql数据库驱动.
@@ -172,7 +172,7 @@ class Dm extends PDOConnection
      * @throws ModelNotFoundException
      * @throws DataNotFoundException
      */
-    public function select(Query $query): array
+    public function select(BaseQuery $query): array
     {
         var_dump([5]);die;
         // 分析查询表达式