You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
If I use Cosmonaut.Extensions.PaginationExtensions.WithPagination<T>(this IQueryable<T> queryable, string continuationToken, int pageSize);
and pass pageSize such that first page will contain only null in the ORDER BY field, let say pageSize = 7, then requesting second page with continuation token will return me only 1 record and no more pages.
If I pass pageSize bigger than 8 it will return all records in following pages.
I am not sure whether it's a bug in Comsos Db, Cosmos Db SDK or Cosmonaut.
The text was updated successfully, but these errors were encountered:
Let say I am excecuting this query
SELECT VALUE t.startDate FROM Items t ORDER BY t.startDate ASC
And it returns this result:
(please notice - there are 8 records with null)
If I use
Cosmonaut.Extensions.PaginationExtensions.WithPagination<T>(this IQueryable<T> queryable, string continuationToken, int pageSize);
and pass pageSize such that first page will contain only null in the ORDER BY field, let say pageSize = 7, then requesting second page with continuation token will return me only 1 record and no more pages.
If I pass pageSize bigger than 8 it will return all records in following pages.
I am not sure whether it's a bug in Comsos Db, Cosmos Db SDK or Cosmonaut.
The text was updated successfully, but these errors were encountered: