mode property
Describes the operations supported by a transaction.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.mode |
Property values
Type: DOMString
The scope of operations associated with the transaction.
| Value | Condition |
|---|---|
|
Operations associated with the transaction can't change data in object stores. |
|
Operations associated with the transaction can change data in object stores. |
|
The transaction is used to create or modify object stores and indexes; data updates are not allowed. |
Standards information
See also
Show:
