Vidyalelo
JavaScript · Q178

Document Object Model And Event Handling

Programming · JavaScript · question 178

Q178

What is the alternate way to search in an IndexedDB API?

A.
Key
B.
Address
C.
Indexes
Answer
D.
All of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
In addition to retrieving objects from an object store by their primary key value, you may want to be able to search based on the value of other properties in the object. In order to be able to do this, you can define any number of indexes on the object store.