In the QueryResult object returned by the query() call, queryLocator contains a value that you will use in the subsequent queryMore() call. Note the following guidelines:
- Use a given queryLocator value only once. When you pass it in a queryMore() call, the API returns
a new queryLocator in the QueryResult.
- QueryLocator objects
expire automatically after 15 minutes of inactivity.
- A user can have up to ten query cursors open at a time. If ten QueryLocator cursors are opened when a client
application, still logged in as the same user, attempts open a new
one, then the oldest of the ten cursors is released.
A QueryLocator represents
a server-side cursor.