+ 3
Could you help me to understand indexedDB ?
I went for hours learning operations with indexedDB, I understand how to open a database, onerror do something, onsuccess and onupgradeneeded, I didn't understand the add or put function, I need help because I'm stuck, also when I try there is an error appear says {evaluating the object store key path didn't yieled to a value }.
2 Answers
+ 1
IndexedDB is a low-levelĀ API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. WhileĀ Web StorageĀ is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data. IndexedDB provides a solution. This is the main landing page for MDN's IndexedDB coverage ā here we provide links to the full API reference and usage guides, browser support details, and some explanation of key concepts.
+ 3
Here is the link to where the above quote was taken.
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API