Re: [w3c/IndexedDB] Allow delete() on index (#68)

I agree that this makes delete operations on indexes somewhat different than delete operations on objectStores. However I don't think it's awkward or surprising enough behavior that it'll result in website bugs.

So I think the fact that there is author demand for this feature, as well as a relatively low cost of implementation, makes it worth adding this feature.

Originally we did indeed put this limitation there since the index is a "window" into the objectStore. However I think that we were overly conservative, and updating and deleting objectStores "through" indexes makes authors lives easier enough that we should allow it.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/68#issuecomment-224797884

Received on Thursday, 9 June 2016 04:35:20 UTC