mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进Query类chunk方法避免受order方法影响
This commit is contained in:
@@ -2581,8 +2581,11 @@ class Query
|
||||
if (is_array($column)) {
|
||||
$column = $column[0];
|
||||
}
|
||||
if (isset($options['order'])) {
|
||||
unset($options['order']);
|
||||
}
|
||||
$bind = $this->bind;
|
||||
$resultSet = $this->limit($count)->order($column, $order)->select();
|
||||
$resultSet = $this->options($options)->limit($count)->order($column, $order)->select();
|
||||
if (strpos($column, '.')) {
|
||||
list($alias, $key) = explode('.', $column);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user