Specifies the batch size for queries. Batches that are larger or smaller than the specified size may be used, in order to maximize performance.
| Element Name | Type | Description |
|---|---|---|
| batchSize | int |
Batch size for the number of records returned in a query()or queryMore() call. Child objects count toward the number of records for the batch size. For example, in relationship queries, multiple child objects may be returned per parent row returned. The default is 500; the minimum is 200, and the maximum is 2,000. |
For code examples, see Changing the Batch Size in Queries.