For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface IDBKeyRange
interface IDBKeyRange {
lower: any;
lowerOpen: boolean;
upper: any;
upperOpen: boolean;
includes(key: any): boolean;
}
lower: any;
lowerOpen: boolean;
upper: any;
upperOpen: boolean;
includes(key: any): boolean;
}
Properties
Readonlylower
lower: any
The lower read-only property of the IDBKeyRange interface returns the lower bound of the key range.
ReadonlylowerOpen
lowerOpen: boolean
The lowerOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
Readonlyupper
upper: any
The upper read-only property of the IDBKeyRange interface returns the upper bound of the key range.
ReadonlyupperOpen
upperOpen: boolean
The upperOpen read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
The
IDBKeyRangeinterface of the IndexedDB API represents a continuous interval over some data type that is used for keys. Records can be retrieved from IDBObjectStore and IDBIndex objects using keys or a range of keys. You can limit the range using lower and upper bounds. For example, you can iterate over all values of a key in the value range A–Z.MDN Reference