src/DB/Drivers/PDOSqlDriver.php
protected function getPrepareResult($_fetchAll = false, $fetch_style = PDO::FETCH_ASSOC)
    {
        $this->sql = $this->SQLAssembler->getSQL();
        $this->params = $this->SQLAssembler->getParams();

        return $this->prepare($this->sql)->exec($this->params)->stmtFetch($_fetchAll, $fetch_style);
    }
protected function getPrepareResult($_fetchAll = false, $fetch_style = PDO::FETCH_ASSOC)
    {
        $this->sql = $this->SQLAssembler->getSQL();
        $this->params = $this->SQLAssembler->getParams();

        return $this->prepare($this->sql)->exec($this->params)->stmtFetch($_fetchAll, $fetch_style);
    }
绑定sql语句,执行后给出返回结果

@param bool $_fetchAll
@param int $fetch_style
@return mixed
@throws CoreException