IDBKeyRange

The IDBKeyRange interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.

MDN Reference

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val lower: JsAny?

The lower read-only property of the The lower bound of the key range (can be any type.) The following example illustrates how you'd use a key range.

Link copied to clipboard

The lowerOpen read-only property of the lower-bound value is included in the key range.

Link copied to clipboard
val upper: JsAny?

The upper read-only property of the The upper bound of the key range (can be any type.) The following example illustrates how you'd use a key range.

Link copied to clipboard

The upperOpen read-only property of the upper-bound value is included in the key range.

Functions

Link copied to clipboard
fun includes(key: JsAny?): Boolean

The includes() method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range.