11<img src =" https://avatars2.githubusercontent.com/u/2810941?v=3&s=96 " alt =" Google Cloud Platform logo " title =" Google Cloud Platform " align =" right " height =" 96 " width =" 96 " />
22
3- # Google BigQuery Node.js Samples
3+ # BigQuery Node.js Samples
44
5- [ BigQuery] [ bigquery_docs ] is Google' s fully managed, petabyte scale, low cost
5+ [ BigQuery] [ bigquery_docs ] is Google&#x 27 ; s fully managed, petabyte scale, low cost
66analytics data warehouse.
77
88[ bigquery_docs ] : https://cloud.google.com/bigquery/docs/
@@ -11,10 +11,9 @@ analytics data warehouse.
1111
1212* [ Setup] ( #setup )
1313* [ Samples] ( #samples )
14- * [ Create A Simple Application With the API] ( #create-a-simple-application-with-the-api )
1514 * [ Datasets] ( #datasets )
16- * [ Queries] ( #queries )
1715 * [ Tables] ( #tables )
16+ * [ Queries] ( #queries )
1817
1918## Setup
2019
@@ -28,20 +27,9 @@ analytics data warehouse.
2827
2928## Samples
3029
31- ### Create A Simple Application With the API
32-
33- View the [ documentation] [ basics_docs ] or the [ source code] [ basics_code ] .
34-
35- __ Run the sample:__
36-
37- node getting_started
38-
39- [ basics_docs ] : https://cloud.google.com/bigquery/create-simple-app-api
40- [ basics_code ] : getting_started.js
41-
4230### Datasets
4331
44- View the [ documentation] [ datasets_docs ] or the [ source code] [ datasets_code ] .
32+ View the [ documentation] [ datasets_0_docs ] or the [ source code] [ datasets_0_code ] .
4533
4634__ Usage:__ ` node datasets --help `
4735
@@ -54,8 +42,8 @@ Commands:
5442
5543Options:
5644 --projectId, -p Optionally specify the project ID to use.
57- [string]
58- --help Show help [boolean]
45+ [string] [default: "nodejs-docs-samples" ]
46+ --help Show help [boolean]
5947
6048Examples:
6149 node datasets create my_dataset Create a new dataset named "my_dataset".
@@ -70,38 +58,12 @@ Examples:
7058For more information, see https://cloud.google.com/bigquery/docs
7159```
7260
73- [ datasets_docs ] : https://cloud.google.com/bigquery/docs
74- [ datasets_code ] : datasets.js
75-
76- ### Queries
77-
78- View the [ documentation] [ queries_docs ] or the [ source code] [ queries_code ] .
79-
80- __ Usage:__ ` node queries --help `
81-
82- ```
83- Commands:
84- sync <query> Run a synchronous query.
85- async <query> Start an asynchronous query.
86- poll <jobId> Get the status of a job.
87-
88- Options:
89- --help Show help [boolean]
90-
91- Examples:
92- node queries sync "SELECT * FROM publicdata:samples.natality LIMIT 5;"
93- node queries async "SELECT * FROM publicdata:samples.natality LIMIT 5;"
94- node queries poll 12345
95-
96- For more information, see https://cloud.google.com/bigquery/docs
97- ```
98-
99- [ queries_docs ] : https://cloud.google.com/bigquery/docs
100- [ queries_code ] : queries.js
61+ [ datasets_0_docs ] : https://cloud.google.com/bigquery/docs
62+ [ datasets_0_code ] : datasets.js
10163
10264### Tables
10365
104- View the [ documentation] [ tables_docs ] or the [ source code] [ tables_code ] .
66+ View the [ documentation] [ tables_1_docs ] or the [ source code] [ tables_1_code ] .
10567
10668__ Usage:__ ` node tables --help `
10769
@@ -132,5 +94,33 @@ Examples:
13294For more information, see https://cloud.google.com/bigquery/docs
13395```
13496
135- [ tables_docs ] : https://cloud.google.com/bigquery/docs
136- [ tables_code ] : tables.js
97+ [ tables_1_docs ] : https://cloud.google.com/bigquery/docs
98+ [ tables_1_code ] : tables.js
99+
100+ ### Queries
101+
102+ View the [ documentation] [ queries_2_docs ] or the [ source code] [ queries_2_code ] .
103+
104+ __ Usage:__ ` node queries --help `
105+
106+ ```
107+ Commands:
108+ sync <query> Run a synchronous query.
109+ async <query> Start an asynchronous query.
110+ poll <jobId> Get the status of a job.
111+
112+ Options:
113+ --help Show help [boolean]
114+
115+ Examples:
116+ node queries sync "SELECT * FROM
117+ publicdata:samples.natality LIMIT 5;"
118+ node queries async "SELECT * FROM
119+ publicdata:samples.natality LIMIT 5;"
120+ node queries poll 12345
121+
122+ For more information, see https://cloud.google.com/bigquery/docs
123+ ```
124+
125+ [ queries_2_docs ] : https://cloud.google.com/bigquery/docs
126+ [ queries_2_code ] : queries.js
0 commit comments