Skip to content

Commit 2c24591

Browse files
author
Ace Nassri
authored
Merge branch 'master' into storage-fix
2 parents a31d836 + 4ea4f39 commit 2c24591

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on Google Cloud Platform.
3131
* [Google Container Engine](#google-container-engine)
3232
* [Google Cloud Functions (Beta)](#google-cloud-functions-beta)
3333
* [**Storage and Databases**](#storage-and-databases)
34+
* [Cloud Spanner](#cloud-spanner)
3435
* [Google Cloud Datastore](#google-cloud-datastore)
3536
* [Google Cloud Storage](#google-cloud-storage)
3637
* [**Big Data**](#big-data)
@@ -222,6 +223,16 @@ View the [Cloud Functions Node.js samples][functions_samples].
222223

223224
### Storage and Databases
224225

226+
#### Cloud Spanner
227+
228+
[Cloud Spanner][spanner_docs] is a managed, mission-critical, globally
229+
consistent and scalable relational database service.
230+
231+
View the [Cloud Spanner Node.js samples][spanner_samples].
232+
233+
[spanner_docs]: https://cloud.google.com/spanner/docs/
234+
[spanner_samples]: spanner
235+
225236
#### Google Cloud Datastore
226237

227238
[Cloud Datastore][datastore_docs] is a NoSQL document database built for

functions/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ environment.
2222
* [Hello World](helloworld/)
2323
* [Background](background/)
2424
* [Callbacks](messages/)
25-
* [Cloud Storage](gcs/)
2625
* [Cloud Datastore](datastore/)
2726
* [Cloud Pub/Sub](pubsub/)
27+
* [Cloud Spanner](spanner/)
28+
* [Cloud Storage](gcs/)
2829
* [Dependencies](uuid/)
2930
* [Error Reporting](errorreporting/)
3031
* [HTTP](http/)

functions/spanner/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ const Spanner = require('@google-cloud/spanner');
2323
const spanner = Spanner();
2424

2525
// Your Cloud Spanner instance ID
26-
const instanceId = 'my-instance';
26+
const instanceId = 'test-instance';
2727

2828
// Your Cloud Spanner database ID
29-
const databaseId = 'my-database';
29+
const databaseId = 'example-db';
3030

3131
/**
3232
* HTTP Cloud Function.

0 commit comments

Comments
 (0)