class js.html.idb.KeyRange

Available on js

The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys. Records can be retrieved from object stores and indexes 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 between x and y.

Documentation for this class was provided by MDN.

Class Fields

static function bound(lower:Key, upper:Key, ?lowerOpen:Bool, ?upperOpen:Bool):KeyRange

static function lowerBound(bound:Key, ?open:Bool):KeyRange

static function only(value:Key):KeyRange

static function upperBound(bound:Key, ?open:Bool):KeyRange

Instance Fields

var upperOpen:Bool

Returns false if the upper-bound value is included in the key range.