2. What is IndexedDB?
HTML5 API to store data in browser
Can store large amount of data on client side
It stores key-pair values
Allows fast indexing and searching
It is not a structured query language
It is non-relational (A NoSQL database)
Works in asynchronous mode
4. Why indexedDB
- Very simple API
- but usage is capped at 5 MB
- good browser support
- supported only on Chrome and Safari
- relational database implementation
IndexedDB is the successor to both LocalStorage and WebSQL
Let’s understand how.
Hence came IndexedDB up in its preference!!
5. Using IndexedDB:
All IndexedDB functionality is accessed through
window.indexedDB = window.indexedDB || window.mozIndexedDB ||
window.webkitIndexedDB || window.msIndexedDB;