This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Currently attention delete and clear method in object store are same. The only different is delete take an argument of key or key range, whereas clear do not take argument. My proposal here to differentiate attention of delete and clear, such that clear method don't care about what effected records and delete method care about effected records. Such that, clear method will take optional argument of either key or key range. Result of clear method is the same, i,e., return undefined. Result of delete method change to number of records effected. Currently, it returns undefined. This changes in API spec is backward compatible and also solve the problem of counting on delete as discussed in http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/0057.html
Marked as an enhancement per Joshua's proposal in http://lists.w3.org/Archives/Public/public-webapps/2013AprJun/0817.html
Not for the "V1" spec, so marking RESOLVED / LATER
Yes. I agree.
Moved to https://github.com/w3c/IndexedDB/issues/32