Module transaction (3.69.0)
Stay organized with collections
Save and categorize content based on your preferences.
Spanner read-write transaction support.
Classes
BatchTransactionId(transaction_id: str, session_id: str, read_timestamp: Any)
API documentation for spanner_v1.transaction.BatchTransactionId class.
DefaultTransactionOptions(isolation_level: str = <IsolationLevel.ISOLATION_LEVEL_UNSPECIFIED: 0>, read_lock_mode: str = <ReadLockMode.READ_LOCK_MODE_UNSPECIFIED: 0>)
DefaultTransactionOptions(isolation_level: str = <IsolationLevel.ISOLATION_LEVEL_UNSPECIFIED: 0>, read_lock_mode: str = <ReadLockMode.READ_LOCK_MODE_UNSPECIFIED: 0>)
Transaction(session, client_context=None)
Implement read-write transaction semantics for a session.
| Parameter |
| Name |
Description |
session |
Session
the session used to perform the commit
|
| Exceptions |
| Type |
Description |
ValueError |
if session has an existing transaction |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-26 UTC.
[null,null,["Last updated 2026-06-26 UTC."],[],[]]