Re: [IndexedDB] Return number of records deleted (#32)

The current spec allows implementations to optimize the behavior of __delete()__, e.g. avoiding read-back of the records. It's unclear if that optimization is actually used in practice.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22130 suggests allowing  __IDBObjectStore.clear(_query_)__ to take an optional _query_ and have __clear()__ be a fast-path, and have __delete()__ yield a count.




---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/32#issuecomment-129596990

Received on Monday, 10 August 2015 20:29:19 UTC