SOQL Query All

Executes the given SOQL string. The result includes all current and deleted objects that satisfy the query.

The batchSize parameter can range from 200 to 2,000 (default value) and is not guaranteed to be the actual size at runtime. By default, returns up to 2,000 records at once. If you specify a batch size, this request returns records in batches up to that size. Specifying a batch size does not guarantee that the returned batch is the requested size.

Parameters 

  • API version (string, optional)
  • Query (string)

iOS 

Swift

1RestClient.shared.request(forQueryAll:apiVersion:)
Objective-C

1- (SFRestRequest *)requestForQueryAll:(NSString *)soql
2                           apiVersion:(nullable NSString *)apiVersion;

Android 

Not supported.

See Also 

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.