object store
The IndexedDB equivalent of a table: a named collection of records, each found by its key.
In more detail
Object stores are created only during an upgradeneeded event. Each store has a key path or key generator that gives every record its primary key.
Related terms
- IndexedDB — The browser's built-in asynchronous, transactional database for storing large amounts of structured data, including files and binary data.
- primary key — The column, or columns, whose value uniquely identifies each row of a table and can never be NULL.
- index — A separate, sorted structure a database keeps alongside a table so it can find matching rows without reading them all.
- transaction — A group of database changes that succeed or fail together, so the data is never left half-updated.
Taught in
- IndexedDB In Practice: Object Stores, Indexes And Transactions — Frontend Architecture & Web Platform