← Back to release summary

IndexedDB 2.0

Category
Offline / Storage
Type
New or changed feature
Status
Enabled by default (Chrome 58)
Intent stage
None

Summary

IndexedDB 2.0 introduces a few APIs that optimize some database access patterns and improve programming ergonomics. Chrome will support the full standard by shipping the following features: support for binary keys, object store and index renaming, getKey() on IDBObjectStore, getPrimaryKey() on IDBIndex.

Standards & signals

Docs: https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/ https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getKey https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey

Samples: https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/ https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/name https://developer.mozilla.org/en-US/docs/Web/API/IDBIndex/name https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/getKey https://developer.mozilla.org/en-US/docs/Web/API/IDBCursor/continuePrimaryKey

View on chromestatus.com