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