demo · v133

Range query builder

Combine IDBKeyRange, the new direction option, and count across a 5000-row demo store. Every change re-runs the query and copies a paste-ready snippet. Test all six (range × direction × ascending/descending) shapes.

rows: · ms:
results appear here

what the API gives you

One round-trip returns an array of { primaryKey, key, value } tuples, in any direction, optionally capped at count. The old getAll only returned values; you had to openCursor and roundtrip every record back to JavaScript just to read the key. getAllRecords eliminates that overhead.

see also