Show / Hide Table of Contents

Class TransactionSelector

This message is used to select the transaction in which a Read or ExecuteSql call runs. See TransactionOptions for more information about transactions.

Inheritance
object
TransactionSelector
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class TransactionSelector : IDirectResponseSchema

Properties

Begin

Begin a new transaction and execute this read or SQL query in it. The transaction ID of the new transaction is returned in ResultSetMetadata.transaction, which is a Transaction.

Declaration
[JsonProperty("begin")]
public virtual TransactionOptions Begin { get; set; }
Property Value
Type Description
TransactionOptions

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Execute the read or SQL query in a previously-started transaction.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

SingleUse

Execute the read or SQL query in a temporary transaction. This is the most efficient way to execute a transaction that consists of a single SQL query.

Declaration
[JsonProperty("singleUse")]
public virtual TransactionOptions SingleUse { get; set; }
Property Value
Type Description
TransactionOptions

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX