TransactionSelector class

This message is used to select the transaction in which a Read or ExecuteSql call runs.

See TransactionOptions for more information about transactions.

Constructors

TransactionSelector()
TransactionSelector.fromJson(Map _json)

Properties

begin TransactionOptions
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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Execute the read or SQL query in a previously-started transaction.
read / write
idAsBytes List<int>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
singleUse TransactionOptions
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.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited