The queryMore() call returns a QueryResult object, which has the following properties:
| Name | Type | Description |
|---|---|---|
| queryLocator | QueryLocator | A specialized string, similar to ID. Used in the subsequent queryMore() call for retrieving sets of objects from the query results, if applicable. |
| done | boolean | Indicates whether additional rows need to be retrieved from the query results (false) using another queryMore() call, or not (true). Your client application can use this value as a loop condition while iterating through the query results. |
| records | sObject[] | Array of sObjects representing individual objects of the specified object and containing data defined in the field list specified in the queryString. |
| size | int | Total number of rows retrieved in the query. Your client application can use this value to determine whether the query retrieved any rows (size > 0) or not (size = 0). |