mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
删除Connection类废弃属性resultSetType
This commit is contained in:
@@ -50,8 +50,6 @@ abstract class Connection
|
|||||||
protected $linkRead;
|
protected $linkRead;
|
||||||
protected $linkWrite;
|
protected $linkWrite;
|
||||||
|
|
||||||
// 查询结果类型
|
|
||||||
protected $resultSetType = 'array';
|
|
||||||
// 查询结果类型
|
// 查询结果类型
|
||||||
protected $fetchType = PDO::FETCH_ASSOC;
|
protected $fetchType = PDO::FETCH_ASSOC;
|
||||||
// 字段属性大小写
|
// 字段属性大小写
|
||||||
@@ -269,10 +267,7 @@ abstract class Connection
|
|||||||
}
|
}
|
||||||
// 记录当前字段属性大小写设置
|
// 记录当前字段属性大小写设置
|
||||||
$this->attrCase = $params[PDO::ATTR_CASE];
|
$this->attrCase = $params[PDO::ATTR_CASE];
|
||||||
// 记录数据集返回类型
|
|
||||||
if (isset($config['resultset_type'])) {
|
|
||||||
$this->resultSetType = $config['resultset_type'];
|
|
||||||
}
|
|
||||||
// 数据返回类型
|
// 数据返回类型
|
||||||
if (isset($config['result_type'])) {
|
if (isset($config['result_type'])) {
|
||||||
$this->fetchType = $config['result_type'];
|
$this->fetchType = $config['result_type'];
|
||||||
|
|||||||
Reference in New Issue
Block a user