+ Start a Discussion
Ted.TsungTed.Tsung 

set query size

Can someone provide a sample php code to retrieve data with size limit defined?
 
    $query = "Select Id, FirstName, AccountId from Contact where OwnerId = '$userID'
                and IndvType__c != 'Rep/Advisor'
                and IndvType__c != 'Branch Manager'
                and IndvType__c != 'Manager'";
    $queryOptions = new QueryOptions(200);
    $clients = $mySforceConnection->query(($query), $queryOptions);
This function does not work with PHP toolkit 11.1. It returns all data instead of just 200.
 
Thanks,