[Bug 10674] New: [IndexedDB] Changes to indexes (and their cursors)

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

           Summary: [IndexedDB] Changes to indexes (and their cursors)
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Indexed Database API
        AssignedTo: andreip@google.com
        ReportedBy: jorlow@chromium.org
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


On Fri, Sep 17, 2010 at 3:14 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>> Given that the key-returning versions of these functions are just
>> optimizations, at the very least, we should change the names though:
>> get->getKey (or maybe getPrimaryKey?)
>> openCursor->openKeyCursor (or maybe openPrimaryKeyCursor?)
>> getObject->get
>> openObjectCursor->openCursor

This sounds like a workable solution. And also make IDBCursor.update
and IDBCursor.delete throw an exception if called on a key-cursor.


This was the resolution of this thread: "[IndexedDB] IDBCursor.update for
cursors returned from IDBIndex.openCursor"
http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/0859.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 Wednesday, 22 September 2010 13:03:07 UTC