Execute a separate BeginTransaction RPC before any reads or queries.
INLINE
Include BeginTransaction on the first read or query. This saves one round trip when the first
operation is not slow and the transaction starts serially. It can be less performant than
#EXPLICIT when multiple reads or queries are started concurrently, because only one
operation can carry the BeginTransaction option and the others must wait until that operation
returns transaction metadata. ReadOnlyTransaction#getReadTimestamp() is also not
available until the first operation has returned transaction metadata.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]