function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BlueteeBluetee 

how does the header 'QueryOption' take effect in a Retrieve call?

We noticed that, there is a header 'QueryOption' in retrive. But it seems that it is different to the one in query/queryMore.
 
We tried to retireve more than 800 sObjects and set the batchSize to 600, but nothing happened, all the 800+ sObjects were returned.
 
We also looked up the apex_api document, but gained nothing useful.
 
So why there is a 'QueryOption' header for retrieve, and how does it took effect?
 
Thanks
BlueteeBluetee
is there anyone who could answer this question?
SuperfellSuperfell
QueryOptions doesn't do anything for retrieve yet.
BlueteeBluetee
thanks for your reply.
 
Does this mean there is not batch size for retrive call?
SuperfellSuperfell
You get as many rows back as IDs you pass in.
BlueteeBluetee
Thanks for you reply!