TransactionOptions class
Options to use for transactions.
Constructors
- TransactionOptions.new({bool? excludeTxnFromChangeStreams, String? isolationLevel, PartitionedDml? partitionedDml, ReadOnly? readOnly, ReadWrite? readWrite})
- TransactionOptions.fromJson(Map json_)
Properties
- excludeTxnFromChangeStreams ↔ bool?
-
When
exclude_txn_from_change_streams
is set totrue
, it prevents read or write transactions from being tracked in change streams.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- isolationLevel ↔ String?
-
Isolation level for the transaction.
Possible string values are:
getter/setter pair
- partitionedDml ↔ PartitionedDml?
-
Partitioned DML transaction.
getter/setter pair
- readOnly ↔ ReadOnly?
-
Transaction does not write.
getter/setter pair
- readWrite ↔ ReadWrite?
-
Transaction may write.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited