If you want to see how many records are between keys 1000 and 2000 in an object store, you can write the following:
Returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if key is a key range.
Returns an IDBRequest object, and, in a separate thread, finds either the given key or the primary key, if key is a key range.
The key path of this index.
The name of the object store referenced by this index.
The method sets the position of the cursor to the appropriate record, based on the specified direction.
Returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
If true, this index does not allow duplicate values for a key.