On Fri, Feb 4, 2011 at 11:14 AM, Shawn Wilsher <sdwi...@mozilla.com> wrote:
> On 2/1/2011 11:00 AM, bugzi...@jessica.w3.org wrote:
>>
>> As discussed in the mailing list thread from bug 11257, we should add some
>> way
>> for index.openCursor cursors to access the primary key for the
>> objectStore.
>> .indexValue, .objectStoreKey, or .primaryKey might be good names to use
>> for it.
>
> .objectStoreKey seems to be the most clear way to express this to me.

Oh, I missed that the original bug included a few suggestions. Given
that both me and Jeremy independently thought of "indexValue" and
"primaryKey" I think that's a decent sign that they are intuitive
names. I happen to like "primaryKey" the most as it's really a key
rather than a value that we've got here.

For some reason objectStoreKey makes me think that it's connected to
the objectStore rather than the entry in it.

/ Jonas

Reply via email to