CData Python Connector for Google Spanner

Build 24.0.9060

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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060