Creating a Cursor for the Object Store
Learn to create a cursor for an object store.
We'll cover the following
The openCursor()
method
The openCursor()
method is used to open a cursor across one of the object stores in an IndexedDB database. It allows us to iterate over the records in the store, searching for a specific key or range of keys.
Syntax
Get hands-on with 1400+ tech skills courses.