TxMode enum
Configure transaction mode. Used with Store.runInTransaction().
Values
- read → const TxMode
-
Read only transaction - trying to execute a write operation results in an error. This is useful if you want to group many reads inside a single transaction, e.g. to improve performance or to get a consistent view of the data across multiple operations.
- write → const TxMode
-
Read/Write transaction. There can be only a single write transaction at any time - it holds a lock on the database. Compared to read transaction, read/write transactions have much higher "cost", because they need to write data to the disk at the end.
Properties
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