# SalesforceQueryResult (/docs/core/reference/api/interfaces/SalesforceQueryResult)



[@kysoql/core](/docs/core/reference/api) / SalesforceQueryResult

Paginated Salesforce query response shape.

## Type Parameters [#type-parameters]

| Type Parameter |
| -------------- |
| `Row`          |

## Properties [#properties]

| Property                                                 | Modifier   | Type              | Description                                                   |
| -------------------------------------------------------- | ---------- | ----------------- | ------------------------------------------------------------- |
| <a id="api-property-totalsize" /> `totalSize`            | `readonly` | `number`          | Total number of records matching the query before pagination. |
| <a id="api-property-done" /> `done`                      | `readonly` | `boolean`         | Whether Salesforce has returned the final query page.         |
| <a id="api-property-records" /> `records`                | `readonly` | readonly `Row`\[] | Records contained in this query page.                         |
| <a id="api-property-nextrecordsurl" /> `nextRecordsUrl?` | `readonly` | `string`          | Relative REST URL for the next page when `done` is false.     |
