Vidyalelo
JavaScript · Q176

Document Object Model And Event Handling

Programming · JavaScript · question 176

Q176

How does IndexedDB provide atomicity?

A.
Grouping among the data
B.
Grouping within a transaction
Answer
C.
Grouping the data
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
IndexedDB provides atomicity guarantees: queries and updates to the database are grouped within a transaction so that they all succeed together or all fail together and never leave the database in an undefined partially updated state.