FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-spanner/test.py at main · gesoges0/python-spanner · GitHub
gesoges0
/
python-spanner
Public
forked from
googleapis/python-spanner
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-spanner
/
test.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (8 loc) · 322 Bytes
Breadcrumbs
python-spanner
/
test.py
Copy path
File metadata and controls
11 lines (8 loc) · 322 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
from
google
.
cloud
import
spanner
from
gooogle
.
cloud
.
spanner_v1
import
RequestOptions
client
=
spanner
.
Client
()
instance
=
client
.
instance
(
'test-instance'
)
database
=
instance
.
database
(
'test-db'
)
with
database
.
snapshot
()
as
snapshot
:
results
=
snapshot
.
execute_sql
(
"SELECT * in all_types LIMIT %s"
, )
database
.
drop
()
Back
|
FazBrowse Home
|
New Git URL