google_api_spanner v0.2.0 GoogleApi.Spanner.V1.Model.Transaction View Source
A transaction.
Attributes
- id (binary()): `id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls. Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple requests. Defaults to:
null
. - readTimestamp (DateTime.t): For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default: see TransactionOptions.ReadOnly.return_read_timestamp. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: `"2014-10-02T15:01:23.045123456Z"`. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t() :: %GoogleApi.Spanner.V1.Model.Transaction{ id: any(), readTimestamp: DateTime.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.