You need to sign in to do that
Don't have an account?

queryMore()
Hi,
I am newbie to SF and per documentation it says that the queryResult returned by the query() call contains a max of 500 records(default). If more records is needed then a queryMore() call needs to be made. In my Java client I am not using queryMore() and making the following call where XXX is a number > 500 still fetches me the record.
queryResult.getRecords()[XXX]
How does it fetch me record where XXX is > 500. ?? Am i missing something here ??
Thanks for your responses.
Hope this helps. It is there in the documentation.
You can remove the limit of 5000, it will fetch all records.