cursor
An object that walks through the records of an object store or index one at a time, in key order.
In more detail
A cursor can move forwards or backwards and can update or delete the record it is on. Cursors let you process large result sets without loading everything into memory at once; call continue() to move to the next record.
Related terms
- IndexedDB — The browser's built-in asynchronous, transactional database for storing large amounts of structured data, including files and binary data.
- index — A separate, sorted structure a database keeps alongside a table so it can find matching rows without reading them all.
Taught in
- IndexedDB In Practice: Object Stores, Indexes And Transactions — Frontend Architecture & Web Platform