DeferrableMode enum
The deferrable mode of the transaction.
Values
- deferrable → const 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.
const DeferrableMode._('DEFERRABLE')
- notDeferrable → const DeferrableMode
-
The default mode.
const DeferrableMode._('NOT DEFERRABLE')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- queryPart → String
-
The SQL identifier of the deferrable mode including leading space.
final
- 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
Constants
-
values
→ const List<
DeferrableMode> - A constant List of the values in this enum, in order of their declaration.