mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -2605,7 +2605,9 @@ class Query
|
||||
public function chunk($count, $callback, $column = null, $order = 'asc')
|
||||
{
|
||||
$options = $this->getOptions();
|
||||
|
||||
if (empty($options['table'])) {
|
||||
$options['table'] = $this->getTable();
|
||||
}
|
||||
$column = $column ?: $this->getPk($options);
|
||||
|
||||
if (isset($options['order'])) {
|
||||
|
||||
Reference in New Issue
Block a user