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