localForage-getItems icon indicating copy to clipboard operation
localForage-getItems copied to clipboard

Add support for the IndexedDB `getAll` function

Open jcbrand opened this issue 3 years ago • 1 comments

Newer versions of IndexedDB have a getAll function that can be used to fetch many entries instead of openCursor.

This PR adds support for calling getAll if it's available.

The getAll method is faster, apparently up to 40%.

jcbrand avatar Feb 25 '22 16:02 jcbrand

getAll returns array instead of object with key val index

thimo1 avatar Oct 29 '22 14:10 thimo1