[Bug 10027] New: Remove explicit add/remove functions from IDBIndex

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10027

           Summary: Remove explicit add/remove functions from IDBIndex
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: nikunj.mehta@oracle.com
        ReportedBy: jonas@sicking.cc
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


The spec currently allows entries to be manually added and removed from
indexes. While this is one solution to the problem of indexing on computed
values, it's not one that seems very popular.

There are currently a few other proposals that have been made for example [1]
and [2].

Until we figure out how to do more complex indexes, I propose we remove the
add/put/remove functions from IDBIndex. Similarly I propose that calling
update() on a cursor opened using IDBIndex.openCursor is not allowed.

[1] http://lists.w3.org/Archives/Public/public-webapps/2010AprJun/1094.html
[2] http://lists.w3.org/Archives/Public/public-webapps/2010AprJun/0882.html

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 28 June 2010 20:56:16 UTC