Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overall record limit of 10,000 for Query #420

Open
shandysawyer opened this issue Nov 8, 2024 · 0 comments
Open

Overall record limit of 10,000 for Query #420

shandysawyer opened this issue Nov 8, 2024 · 0 comments

Comments

@shandysawyer
Copy link

Has anyone run into a hard restriction of 10,000 records when using this approach?:

var init = await client.QueryAsync<T>(tmpquery);
var finished = false;
do
{
    finished = init.Done;

    // add any records
    if (init.Records.Any())
        result.AddRange(init.Records);

    // if more
    if (!finished)
    {
        // get next batch
        init = await client.QueryContinuationAsync<T>(init.NextRecordsUrl);
    }
} while (!finished);

The Salesforce documentation is somewhat unclear on this, but this at least correlates to running a SOQL query in Salesforce Developer Console and only getting back a maximum of 10,000 record. It seems that I might have to utilize the Bulk API for a larger query, which this library doesn't seem to support? Anyone have any experience with this and what they did to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant