Builds a cursor query: size records after cursor, the nextCursor of the previous page (none at first).
cursor
nextCursor