Building SQL QueriesDocumentation

BigQuery Node.js DataSet

A BigQueryDataSet is a client for BigQuery that's scoped to a single data set.

BigQueryDataSet.query(SQLQuery): Promise<any[]>

This is equivalent to .query on the BigQueryClient, except the query is automatically scoped to the dataset. See BigQueryClient.queryStream for details.

BigQueryDataSet.queryStream(SQLQuery): AsyncIterable<any>

This is equivalent to .queryStream on the BigQueryClient, except the query is automatically scoped to the dataset. See BigQueryClient.queryStream for details.

BigQueryDataSet.queryNodeStream(SQLQuery): ReadableStream

This is equivalent to .queryNodeStream on the BigQueryClient, except the query is automatically scoped to the dataset. See BigQueryClient.queryStream for details.

BigQueryDataSet.createTable(name, options): Promise<BigQueryTable>

Create a table and get a BigQuery Table API for inserting records into the table.

BigQueryDataSet.table(name): BigQueryTable

Get a BigQuery Table API for inserting records into the table.

Client
Cache