Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 11c4a20

Browse filesBrowse files
jasonmortonJon Wayne Parrott
authored andcommitted
Update snippets.py (GoogleCloudPlatform#815)
1 parent 25cedf2 commit 11c4a20
Copy full SHA for 11c4a20

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎spanner/cloud-client/snippets.py

Copy file name to clipboardExpand all lines: spanner/cloud-client/snippets.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def read_only_transaction(instance_id, database_id):
379379
# is updated in-between the reads, the snapshot ensures that both
380380
# return the same data.
381381
keyset = spanner.KeySet(all_=True)
382-
results = database.read(
382+
results = snapshot.read(
383383
table='Albums',
384384
columns=('SingerId', 'AlbumId', 'AlbumTitle',),
385385
keyset=keyset,)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.