Interface

IDBKeyRange

IDBKeyRange

A key range can be a single value or a range with upper and lower bounds or endpoints. If the key range has both upper and lower bounds, then it is bounded; if it has no bounds, it is unbounded. A bounded key range can either be open (the endpoints are excluded) or closed (the endpoints are included). To retrieve all keys within a certain range, you can use the following code constructs:

View Source js/lib.dom.d.ts, line 4453

Members

boolean

# includes

Returns true if key is included in the range, and false otherwise.

View Source js/lib.dom.d.ts, line 4476

any

# lower

Returns lower bound, or undefined if none.

View Source js/lib.dom.d.ts, line 4456

boolean

# lowerOpen

Returns true if the lower open flag is set, and false otherwise.

View Source js/lib.dom.d.ts, line 4461

any

# upper

Returns upper bound, or undefined if none.

View Source js/lib.dom.d.ts, line 4466

boolean

# upperOpen

Returns true if the upper open flag is set, and false otherwise.

View Source js/lib.dom.d.ts, line 4471