Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit 04784d2

Browse files
authored
docs: add comment that pagination happens automatically (#1427)
Towards internal b/373431246
1 parent 19204e8 commit 04784d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

samples/queryPagination.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ function main() {
3333
const [job] = await bigquery.createQueryJob(query);
3434

3535
// Wait for job to complete and get rows.
36+
// The client library automatically handles pagination.
37+
// See more info on how to configure paging calls at:
38+
// * https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#auto-pagination
39+
// * https://cloud.google.com/bigquery/docs/paging-results#iterate_through_client_libraries_results
3640
const [rows] = await job.getQueryResults();
3741

3842
console.log('Query results:');

0 commit comments

Comments
 (0)