IDBKeyRange Interface
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.
Constructors
Code new IDBKeyRange.upperBound(bound, [bool open]) #
IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open]);
Code new IDBKeyRange.bound(lower, upper, [bool lowerOpen, bool upperOpen]) #
IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool upperOpen]);
Code new IDBKeyRange.lowerBound(bound, [bool open]) #
IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open]);
Code new IDBKeyRange.only(value) #
IDBKeyRange.only(/*IDBKey*/ value);
Fields
Code final lower #
final Dynamic lower;
Code final upper #
final Dynamic upper;
Code final bool upperOpen #
final bool upperOpen;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.