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
    • Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range.

      Parameters

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

      Returns IDBKeyRange

  • lowerBound:function
    • Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range.

      Parameters

      • lower: any
      • Optionalopen: boolean

      Returns IDBKeyRange

  • only:function
    • Returns a new IDBKeyRange spanning only key.

      Parameters

      • value: any

      Returns IDBKeyRange

  • upperBound:function
    • Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range.

      Parameters

      • upper: any
      • Optionalopen: boolean

      Returns IDBKeyRange