TransactionSettings class
The characteristics of the current transaction.
- Inheritance
-
- Object
- SessionSettings
- TransactionSettings
Constructors
- TransactionSettings({IsolationLevel? isolationLevel, AccessMode? accessMode, DeferrableMode? deferrable, Duration? connectTimeout, Duration? queryTimeout, QueryMode? queryMode, bool? ignoreSuperfluousParameters})
Properties
- accessMode → AccessMode?
-
The transaction access mode determines whether the transaction is read/write
or read-only.
final
- connectTimeout → Duration?
-
finalinherited
- deferrable → DeferrableMode?
-
The DEFERRABLE transaction property has no effect unless the transaction
is also SERIALIZABLE and READ ONLY. When all three of these properties
are selected for a transaction, the transaction may block when first
acquiring its snapshot, after which it is able to run without the normal
overhead of a SERIALIZABLE transaction and without any risk of contributing
to or being canceled by a serialization failure. This mode is well suited
for long-running reports or backups.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreSuperfluousParameters → bool?
-
When set, the default query map will not throw exception when superfluous
parameters are found.
finalinherited
- isolationLevel → IsolationLevel?
-
The isolation level of a transaction determines what data the transaction
can see when other transactions are running concurrently.
final
- queryMode → QueryMode?
-
The Query Execution Mode
finalinherited
- queryTimeout → Duration?
-
finalinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited