Skip to content

queryApexLogIdsViaBulkApi

queryApexLogIdsViaBulkApi(connection, query, pollTimeout): Promise<string[]>

Defined in: packages/simply-apex-core/src/apexLogsPurge.ts:44

Connection

string

number

Promise<string[]>

Every ApexLog Id matched by query (a full SOQL statement), via a Bulk API v2 query job. The job streams CSV back, so the IDs are gathered from the record stream rather than a single response body.