- From: Joshua Bell <notifications@github.com>
- Date: Tue, 23 Feb 2016 17:05:30 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
Received on Wednesday, 24 February 2016 01:06:27 UTC
Here's a use case for being able to call delete() on an index: http://stackoverflow.com/questions/35511033/how-to-apply-expiry-times-to-keys-in-html5-indexeddb/35518068#35518068 Scenario: delete all records > 24 hours old If you create an index on a timestamp field you can open an index cursor over the range and delete every value. But if you could call `delete(range)` on the index directly you could avoid iterating through script. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/68
Received on Wednesday, 24 February 2016 01:06:27 UTC