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.

      MDN Reference

      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.

      MDN Reference

      Parameters

      • lower: any
      • Optional open: boolean

      Returns IDBKeyRange

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

      MDN Reference

      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.

      MDN Reference

      Parameters

      • upper: any
      • Optional open: boolean

      Returns IDBKeyRange

Generated using TypeDoc