mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进chunk方法的order参数大小写
This commit is contained in:
@@ -2601,7 +2601,7 @@ class Query
|
||||
$resultSet = $this->options($options)
|
||||
->limit($count)
|
||||
->bind($bind)
|
||||
->where($column, 'asc' == $order ? '>' : '<', $lastId)
|
||||
->where($column, 'asc' == strtolower($order) ? '>' : '<', $lastId)
|
||||
->order($column, $order)
|
||||
->select();
|
||||
if ($resultSet instanceof Collection) {
|
||||
|
||||
Reference in New Issue
Block a user