Skip to content

Commit 614da9a

Browse files
laljikanjareeyasteffnaysofisl
authored
doc: added docs for defaultDataset (#749)
Co-authored-by: Steffany Brown <30247553+steffnay@users.noreply.github.com> Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
1 parent e86dc91 commit 614da9a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

handwritten/bigquery/src/bigquery.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ export type Query = JobRequest<bigquery.IJobConfigurationQuery> & {
8989
// eslint-disable-next-line @typescript-eslint/no-explicit-any
9090
params?: any[] | {[param: string]: any};
9191
dryRun?: boolean;
92-
types?: string[] | string[][] | {[type: string]: string | string[]};
93-
defaultDataset?: Dataset;
92+
types?: string[] | string[][] | {[type: string]: string[]};
9493
job?: Job;
9594
maxResults?: number;
9695
timeoutMs?: number;
@@ -1086,6 +1085,8 @@ export class BigQuery extends common.Service {
10861085
* @param {string} options.query A query string, following the BigQuery query
10871086
* syntax, of the query to execute.
10881087
* @param {boolean} [options.useLegacySql=false] Option to use legacy sql syntax.
1088+
* @param {object} [options.defaultDataset] The dataset. This must be in
1089+
* the format of the [`DatasetReference`](https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#DatasetReference)
10891090
* @param {function} [callback] The callback function.
10901091
* @param {?error} callback.err An error returned while making this request.
10911092
* @param {Job} callback.job The newly created job for your query.

0 commit comments

Comments
 (0)