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.
This browser doesn't expose
getAllRecords. Chrome 133+ required.
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.