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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]


On Fri, Sep 17, 2010 at 3:14 PM, Jonas Sicking <[email protected]> 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.

Reply via email to