Skip to content

Latest commit

 

History

History

read-only-transactions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Sample - Read-only transactions

In addition to locking read-write transactions, Cloud Spanner offers read-only transactions. Use a read-only transaction when you need to execute more than one read at the same timestamp.

The sample will automatically start a Spanner Emulator in a docker container and execute the sample against that emulator. The emulator will automatically be stopped when the application finishes.

Run the application with the command

bundle exec rake run