mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
删除调试代码
This commit is contained in:
@@ -1988,7 +1988,6 @@ abstract class Driver
|
|||||||
*/
|
*/
|
||||||
public function select($data = [])
|
public function select($data = [])
|
||||||
{
|
{
|
||||||
dump($this->options['where']);
|
|
||||||
if (false === $data) {
|
if (false === $data) {
|
||||||
// 用于子查询 不查询只返回SQL
|
// 用于子查询 不查询只返回SQL
|
||||||
$this->options['fetch_sql'] = true;
|
$this->options['fetch_sql'] = true;
|
||||||
@@ -1996,7 +1995,7 @@ abstract class Driver
|
|||||||
// AR模式主键条件分析
|
// AR模式主键条件分析
|
||||||
$this->parsePkWhere($data);
|
$this->parsePkWhere($data);
|
||||||
}
|
}
|
||||||
dump($this->options['where']);
|
|
||||||
$options = $this->_parseOptions();
|
$options = $this->_parseOptions();
|
||||||
$sql = $this->buildSelectSql($options);
|
$sql = $this->buildSelectSql($options);
|
||||||
$resultSet = $this->query($sql, $this->getBindParams(), !empty($options['fetch_sql']) ? true : false, !empty($options['master']) ? true : false, isset($options['fetch_pdo']) ? $options['fetch_pdo'] : false);
|
$resultSet = $this->query($sql, $this->getBindParams(), !empty($options['fetch_sql']) ? true : false, !empty($options['master']) ? true : false, isset($options['fetch_pdo']) ? $options['fetch_pdo'] : false);
|
||||||
@@ -2089,7 +2088,6 @@ abstract class Driver
|
|||||||
}
|
}
|
||||||
$this->via();
|
$this->via();
|
||||||
$this->model($currentModel);
|
$this->model($currentModel);
|
||||||
dump($with);
|
|
||||||
$this->options['with'] = $with;
|
$this->options['with'] = $with;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user