修正Query类

This commit is contained in:
thinkphp
2016-04-16 15:58:42 +08:00
parent 6fa007dc77
commit 483c824df9

View File

@@ -1218,7 +1218,7 @@ class Query
// 生成删除SQL语句
$sql = $this->builder()->delete($options);
// 执行操作
return $this->execute($sql, $this->getBind(), $options['fetch_sql']);
return $this->connection->execute($sql, $this->getBind(), $options['fetch_sql']);
}
/**