IndexedDB API

indexedDB is a low-level API for client-side storage of large amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches on this data. While Web Storage is useful for storing small amounts of data, it is less useful for storing large 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 guide, browser support details, and some explanations of key concepts.

Note: This feature is available in Web Workers

Note: The IndexedDB API is powerful, but may seem overly complicated for simple cases. If you prefer a simpler API, try the libraries in the See Also section that make IndexedDB more programmer-friendly.

Key Concepts and Usage

IndexedDB is a transactional database system, similar to an SQL-based RDBMS. However, unlike SQL-based RDBMSs that use fixed lists, IndexedDB is a JavaScript -based

The post IndexedDB API first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9843
This site is for inclusion only, and the copyright belongs to the original author.