AppExchange logo

QueryOptions


Specifies the batch size for queries. Batches that are larger or smaller than the specified size may be returned, in order to maximize performance.

Associated API Calls

query, queryMore

Field

Element Name
Type
Description
batchSize
int
Batch size for the number of records returned in a query or queryMore call. The default is 500; the minimum is 200, and the maximum is 2,000.

Sample Code

For code examples, see Changing the Batch Size in Queries.

See Also

query

Changing the Batch Size in Queries


© Copyright 2000-2006 salesforce.com, inc.
All rights reserved • Various trademarks held by their respective owners.
Have feedback about this page? Click the red email icon in the top right corner to contact us.