Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

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;
}

Type Declaration

  • prototype: IDBKeyRange
  • bound: function
    • The bound() static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds. The bounds can be open (that is, the bounds exclude the endpoint values) or closed (that is, the bounds include the endpoint values). By default, the bounds are closed.

      MDN Reference

      Parameters

      • lower: any
      • upper: any
      • OptionallowerOpen: boolean
      • OptionalupperOpen: boolean

      Returns IDBKeyRange

  • lowerBound: function
    • The lowerBound() static method of the IDBKeyRange interface creates a new key range with only a lower bound. By default, it includes the lower endpoint value and is closed.

      MDN Reference

      Parameters

      • lower: any
      • Optionalopen: boolean

      Returns IDBKeyRange

  • only: function
    • The only() static method of the IDBKeyRange interface creates a new key range containing a single value.

      MDN Reference

      Parameters

      • value: any

      Returns IDBKeyRange

  • upperBound: function
    • The upperBound() static method of the IDBKeyRange interface creates a new upper-bound key range. By default, it includes the upper endpoint value and is closed.

      MDN Reference

      Parameters

      • upper: any
      • Optionalopen: boolean

      Returns IDBKeyRange

Was this helpful?