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.
| Method | Description |
|---|---|
| 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.
| Property | Access type | Description |
|---|---|---|
| Read-only |
The name of an object store, index, or other database object. | |
| Read-only |
A reference to the object store associated with the index. | |
| Read-only |
Indicates whether the index allows duplicate key values. |
Standards information
