reamde文件修正

This commit is contained in:
thinkphp
2016-06-23 17:08:12 +08:00
parent 5b061cd998
commit dc73254db3
2 changed files with 12 additions and 28 deletions

View File

@@ -474,6 +474,7 @@ abstract class Connection
return $this->PDOStatement;
}
if ($procedure) {
// 存储过程返回结果
return $this->procedure($class);
}
$result = $this->PDOStatement->fetchAll($this->fetchType);
@@ -486,7 +487,6 @@ abstract class Connection
// 返回数据集Collection对象
$result = new Collection($result);
}
return $result;
}