commit | 1e5f0bc7ac92517bd79bee8b53dbdc894f5798f5 | [log] [tgz] |
---|---|---|
author | jsbell <jsbell@chromium.org> | Tue Aug 30 03:20:44 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 30 03:24:19 2016 |
tree | 3a209d9f30052b502e44881154a76f8d764828db | |
parent | 514c3e5d3573122f1cb72a7bb0d6035244aae3fb [diff] |
Add IDBObjectStore.getKey(query) API (experimental) When probing for existence this avoids the deserialization and cursor overhead and identifies a specific key in a range, which are drawbacks to get(), count(), or openKeyCursor(). Also makes the store and index query APIs the same shape. Intent to Implement: https://groups.google.com/a/chromium.org/d/topic/blink-dev/LNvvdSbgAqw/discussion Spec: https://w3c.github.io/IndexedDB/#dom-idbobjectstore-getkey Review-Url: https://codereview.chromium.org/1407883002 Cr-Commit-Position: refs/heads/master@{#415047}