think-orm
think-orm copied to clipboard
当chunk查询数量小于$count时,还会继续查询一次
是不是应该加一次$count判断
$total = count($resultSet);
while ($total > 0) {
if (false === call_user_func($callback, $resultSet)) {
return false;
}
if ($total < $count) {
return true;
}
}