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, upper, lowerOpen?, upperOpen?): IDBKeyRange
Parameters
- lower: any
- upper: any
Optional
lowerOpen: booleanOptional
upperOpen: boolean
Returns IDBKeyRange
lower
Bound :function- lower
Bound (lower, open?): 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
- lower
only:function
- only(value): IDBKeyRange
Returns a new IDBKeyRange spanning only key.
Parameters
- value: any
Returns IDBKeyRange
upper
Bound :function- upper
Bound (upper, open?): 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
- upper
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