keyPath property

Specifies the attribute that contains a unique value for the record in the object store.

This property is read-only.

Syntax

JavaScript
sKeyPath = object.keyPath

Property values

Type: DOMString

The name of a field in the object store.

Standards information

See also

IDBObjectStore

 

 

Show:
© 2014 Microsoft