Bug 19955 - [IndexedDB] Add IDBObjectStore.openKeyCursor
[IndexedDB] Add IDBObjectStore.openKeyCursor
Status: RESOLVED LATER
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API
unspecified
All All
: P2 normal
: ---
Assigned To: This bug has no owner yet - up for the taking
public-webapps-bugzilla
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-13 17:04 UTC by Joshua Bell
Modified: 2012-11-13 17:08 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Bell 2012-11-13 17:04:35 UTC
In some scenarios, it is beneficial to avoid the cost of deserializing values when walking a cursor across an object store. IDBIndex has openKeyCursor, and it wouldn't be difficult to support the same method on IDBObjectStore.

Excellent summary of the use cases in this message:

http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0465.html
Comment 1 Joshua Bell 2012-11-13 17:05:26 UTC
We shouldn't add this to v1, but it's a nice simple addition to v2.