For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Variable IDBKeyRange
IDBKeyRange: {
prototype: IDBKeyRange;
bound(
lower: any,
upper: any,
lowerOpen?: boolean,
upperOpen?: boolean,
): IDBKeyRange;
lowerBound(lower: any, open?: boolean): IDBKeyRange;
only(value: any): IDBKeyRange;
upperBound(upper: any, open?: boolean): IDBKeyRange;
new (): IDBKeyRange;
}
prototype: IDBKeyRange;
bound(
lower: any,
upper: any,
lowerOpen?: boolean,
upperOpen?: boolean,
): IDBKeyRange;
lowerBound(lower: any, open?: boolean): IDBKeyRange;
only(value: any): IDBKeyRange;
upperBound(upper: any, open?: boolean): IDBKeyRange;
new (): IDBKeyRange;
}
Type Declaration
-
- new (): IDBKeyRange
-
Returns IDBKeyRange
-
prototype: IDBKeyRange
-
bound: function
-
Parameters
- lower: any
- upper: any
OptionallowerOpen: booleanOptionalupperOpen: boolean
Returns IDBKeyRange
-
-
lowerBound: function
-
The
lowerBound()static method of the IDBKeyRange interface creates a new key range with only a lower bound. By default, it includes the lower endpoint value and is closed.Parameters
- lower: any
Optionalopen: boolean
Returns IDBKeyRange
-
-
only: function
-
The
only()static method of the IDBKeyRange interface creates a new key range containing a single value.Parameters
- value: any
Returns IDBKeyRange
-
-
upperBound: function
-
The
upperBound()static method of the IDBKeyRange interface creates a new upper-bound key range. By default, it includes the upper endpoint value and is closed.Parameters
- upper: any
Optionalopen: boolean
Returns IDBKeyRange
-
The
bound()static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds. The bounds can be open (that is, the bounds exclude the endpoint values) or closed (that is, the bounds include the endpoint values). By default, the bounds are closed.MDN Reference