IDBIndex object

Lets you use attribute values to search and organize data in an object store.

DOM Information

Inheritance Hierarchy

The IDBIndex does not inherit from any class or interface.

Members

The IDBIndex object has these types of members:

Methods

The IDBIndex object has these methods.

MethodDescription
count

Returns the number of records in an object store corresponding to a key value or key range.

get

Retrieves a record from an object store.

getKey

Retrieves the key value from an index.

openCursor

Returns a cursor object positioned at the first record object in a data source, optionally filtered by a key range and ordered by a direction.

openKeyCursor

Returns a set of records, organized by the index, optionally matching values specified by a key range and matching a specified direction.

 

Properties

The IDBIndex object has these properties.

PropertyAccess typeDescription

name

Read-only

The name of an object store, index, or other database object.

objectStore

Read-only

A reference to the object store associated with the index.

unique

Read-only

Indicates whether the index allows duplicate key values.

 

Standards information

 

 

Show:
© 2014 Microsoft