# RestQueryOptions (/docs/rest/api/interfaces/RestQueryOptions)



[@kysoql/rest](/docs/rest/api) / RestQueryOptions

Execution options for a Salesforce REST query.

## Extends [#extends]

* [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions)

## Properties [#properties]

| Property                                       | Modifier   | Type          | Description                                                                           | Inherited from                                                                                                                                          |
| ---------------------------------------------- | ---------- | ------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="api-property-queryall" /> `queryAll?`   | `readonly` | `boolean`     | QueryAll includes qualifying deleted records; it is not a pagination switch.          | -                                                                                                                                                       |
| <a id="api-property-signal" /> `signal?`       | `readonly` | `AbortSignal` | Combines with the client's signal; cancelling one operation does not cancel others.   | [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions).[`signal`](/docs/rest/api/interfaces/RestRequestOptions#api-property-signal)       |
| <a id="api-property-timeoutms" /> `timeoutMs?` | `readonly` | `number`      | Per HTTP request, including token acquisition and response body. Default: 30 seconds. | [`RestRequestOptions`](/docs/rest/api/interfaces/RestRequestOptions).[`timeoutMs`](/docs/rest/api/interfaces/RestRequestOptions#api-property-timeoutms) |
