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
- bound(
lower: any,
upper: any,
lowerOpen?: boolean,
upperOpen?: boolean,
): IDBKeyRange Parameters
- lower: any
- upper: any
Optional
lowerOpen: booleanOptional
upperOpen: boolean
Returns IDBKeyRange
- bound(
lowerBound:function
- lowerBound(lower: any, open?: boolean): IDBKeyRange
Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.
Parameters
- lower: any
Optional
open: boolean
Returns IDBKeyRange
only:function
- only(value: any): IDBKeyRange
Returns a new IDBKeyRange spanning only key.
Parameters
- value: any
Returns IDBKeyRange
upperBound:function
- upperBound(upper: any, open?: boolean): IDBKeyRange
Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.
Parameters
- upper: any
Optional
open: boolean
Returns IDBKeyRange
Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.
MDN Reference