1
This commit is contained in:
parent
faa5f840af
commit
191048f40d
@ -387,6 +387,7 @@ func (this *dbPool) StreamPageQuery(
|
||||
pagination.PreviousCursor = cursor
|
||||
for rows.Next() {
|
||||
if (rows.NumOfReaded() <= int64(pageSize)) {
|
||||
pagination.Count += 1
|
||||
fillCb(rows)
|
||||
if (rows.NumOfReaded() == int64(pageSize)) {
|
||||
pagination.NextCursor = q5.ToInt64(rows.GetByName("idx"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user