- From: <bugzilla@jessica.w3.org>
- Date: Wed, 22 May 2013 03:28:44 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22130
Bug ID: 22130
Summary: Modification for clear and delete method
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Indexed Database API
Assignee: dave.null@w3.org
Reporter: kyawtun@yathit.com
QA Contact: public-webapps-bugzilla@w3.org
CC: mike@w3.org, public-webapps@w3.org
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
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 22 May 2013 03:28:49 UTC