IDBKeyRange: {
    prototype: IDBKeyRange;
    bound(lower, upper, lowerOpen?, upperOpen?): IDBKeyRange;
    lowerBound(lower, open?): IDBKeyRange;
    only(value): IDBKeyRange;
    upperBound(upper, open?): 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
      • Optional lowerOpen: boolean
      • Optional upperOpen: 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
      • Optional open: boolean

      Returns IDBKeyRange

  • only:function
  • 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
      • Optional open: boolean

      Returns IDBKeyRange