Sets or disables the log function for all active BigQuery instances.
| Name | Type | Description |
|---|---|---|
logger | A log function that takes a message (such as |
Convert a value to an array. Replacement to arrify
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
projectId | string | <optional> | The project ID from the Google Developer'sConsole, e.g. 'grape-spaceship-123'. We will also check the environmentvariable | ||||||||||||
keyFilename | string | <optional> | Full path to the a .json, .pem, or .p12 keydownloaded from the Google Developers Console. If you provide a path to aJSON file, the | ||||||||||||
token | string | <optional> | An OAUTH access token. If provided, we will notmanage fetching, re-using, and re-minting access tokens. | ||||||||||||
email | string | <optional> | Account email address. Required when using a .pemor .p12 keyFilename. | ||||||||||||
credentials | object | <optional> | Credentials object. Properties
| ||||||||||||
promise | Constructor | <optional> | Custom promise module to use instead ofnative Promises. | ||||||||||||
scopes | Array.<string> | <optional> | Additional OAuth scopes to use in requests. Forexample, to access an external data source, you may need the |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
dataset | Dataset | The newly created dataset. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Dataset | The newly created dataset. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
table | Table | The table. | |
apiResponse | object | The full API response body. |
| Name | Type | Description |
|---|---|---|
0 | Table | The table. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
exists | boolean | Indicates if the dataset exists. |
| Name | Type | Description |
|---|---|---|
0 | boolean | Indicates if the dataset exists. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
apiResponse | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
dataset | Dataset | The dataset. | |
apiResponse | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The dataset metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The dataset metadata. |
1 | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Dataset | The dataset. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
model | Model | The job. | |
apiResponse | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The job metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The job metadata. |
1 | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Model | The job. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
model | Model | The model. | |
apiResponse | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The model metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The model metadata. |
1 | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Model | The model. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
routine | Routine | The routine. | |
apiResponse | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The routine metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The routine metadata. |
1 | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Routine | The routine. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
table | Table | The table. | |
apiResponse | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The table metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The table metadata. |
1 | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | Table | The table. |
1 | object | The full API response body. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
exists | boolean | Indicates if the job exists. |
| Name | Type | Description |
|---|---|---|
0 | boolean | Indicates if the job exists. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | An error returned while making this request. |
rows | array | The results of the job. | |
nextQuery | object | <nullable> | A pre-made configuration object for your nextrequest. This will be |
apiResponse | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
exists | boolean | Indicates if the model exists. |
| Name | Type | Description |
|---|---|---|
0 | boolean | Indicates if the model exists. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | An error returned while making this request. |
rows | array | The results of the job. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
exists | boolean | Indicates if the routine exists. |
| Name | Type | Description |
|---|---|---|
0 | boolean | Indicates if the routine exists. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The model metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The model metadata. |
1 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
metadata | object | The routine metadata. | |
apiResponse | object | The full API response. |
| Name | Type | Description |
|---|---|---|
0 | object | The routine metadata. |
1 | object | The full API response. |
| Name | Type | Attributes | Description |
|---|---|---|---|
err | Error | <nullable> | Request error, if any. |
exists | boolean | Indicates if the table exists. |
| Name | Type | Description |
|---|---|---|
0 | boolean | Indicates if the table exists. |