+ 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 }.

3rd Feb 2022, 5:55 PM
Mohammed
2 odpowiedzi
+ 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.
7th Feb 2022, 4:09 AM
Atharv127
Atharv127 - avatar
+ 3
Here is the link to where the above quote was taken. https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
14th Apr 2022, 12:47 PM
Paul K Sadler
Paul K Sadler - avatar