You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using IDBIndex.openKeyCursor to retrieve all (index) keys satisfying some range, I can easily get the secondary key (the value of the property indexed for that particular record) in addition to the primary one, for example:
It seems that IDBIndex.getAllKeys currently only returns the primary keys (tested on latest stable Firefox/Chrome versions). Is/will there be any way to retrieve the secondary keys as well? or falling back to using cursors is planned to remain the most efficient solution?
The text was updated successfully, but these errors were encountered:
In my tests IDBIndex.openKeyCursor on 4000 of relatively simple records seems to be practically unusable in Chrome - 150ms compared to 15ms of IDBIndex.getAllKeys.
When using
IDBIndex.openKeyCursor
to retrieve all (index) keys satisfying some range, I can easily get the secondary key (the value of the property indexed for that particular record) in addition to the primary one, for example:It seems that
IDBIndex.getAllKeys
currently only returns the primary keys (tested on latest stable Firefox/Chrome versions). Is/will there be any way to retrieve the secondary keys as well? or falling back to using cursors is planned to remain the most efficient solution?The text was updated successfully, but these errors were encountered: