diff --git a/library/think/db/Connection.php b/library/think/db/Connection.php index b2d6a305..f14e010b 100644 --- a/library/think/db/Connection.php +++ b/library/think/db/Connection.php @@ -50,8 +50,6 @@ abstract class Connection protected $linkRead; protected $linkWrite; - // 查询结果类型 - protected $resultSetType = 'array'; // 查询结果类型 protected $fetchType = PDO::FETCH_ASSOC; // 字段属性大小写 @@ -269,10 +267,7 @@ abstract class Connection } // 记录当前字段属性大小写设置 $this->attrCase = $params[PDO::ATTR_CASE]; - // 记录数据集返回类型 - if (isset($config['resultset_type'])) { - $this->resultSetType = $config['resultset_type']; - } + // 数据返回类型 if (isset($config['result_type'])) { $this->fetchType = $config['result_type'];