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
>
> I can't say that I feel strongly on the naming issue. Will ask around
> here to see how people feel.

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

/ Jonas

Reply via email to