Search code examples
google-cloud-platformgoogle-cloud-spanner

deploying data from google cloud spanner database


I'm trying to get data from my google cloud spanner into a web page. But i'm not familiar with cloud spanner. I created some tables and add data into them. Now i want to get them to my own web page


Solution

  • Please follow this tutorial, where it is explained step by step the process of working with cloud spanner with php.

    1.Create a Cloud Spanner instance and database.
    2.Write, read, and execute SQL queries on data in the database.
    3.Update the database schema.
    4.Update data using a read-write transaction.
    5.Add a secondary index to the database.
    6.Use the index to read and execute SQL queries on data.
    7.Retrieve data using a read-only transaction.