IDBObjectStore object
Holds the data stored in an indexed database.
![]() |
DOM Information
Inheritance Hierarchy
The IDBObjectStore does not inherit from any class or interface.Members
The IDBObjectStore object has these types of members:
Methods
The IDBObjectStore object has these methods.
| Method | Description |
|---|---|
| add |
Adds a record object to an object store. |
| clear |
Removes all data from an object store. |
| count |
Returns the number of records in an object store corresponding to a key value or key range. |
| createIndex |
Creates an index on an object store. |
| delete |
Deletes a record object from an object store. |
| deleteIndex |
Deletes an index from an object store. |
| get |
Retrieves a record from an object store. |
| index |
Retrieves an index associated with the object store. |
| 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. |
| put |
Replaces or adds a record object in an object store. |
Properties
The IDBObjectStore object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
Returns the names of indexes associated with an object store. | |
| Read-only |
Specifies the attribute that contains a unique value for the record in the object store. | |
| Read-only |
The name of an object store, index, or other database object. |
Standards information
