Connecting
Connecting with the cdata.googlespanner Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.googlespanner as mod conn = mod.connect("ProjectId='project1';InstanceId='instance1';Database='db1';OAuthClientId='757060765381';OauthClientSecret='abc';")
Once the connection is created, you can use it to execute subsequent SQL queries.