primaryKey property

Object primaryKey

returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type.

idb_shim: specific - key must be num or String

Implementation

Object get primaryKey;