修正chunk方法对时间字段的支持

This commit is contained in:
thinkphp
2017-10-12 14:27:59 +08:00
parent c15bd25ed2
commit 80c82571b0

View File

@@ -2608,7 +2608,7 @@ class Query
return false;
}
$end = end($resultSet);
$lastId = is_array($end) ? $end[$key] : $end->$key;
$lastId = is_array($end) ? $end[$key] : $end->getData($key);
$resultSet = $this->options($options)
->limit($count)
->bind($bind)