Type alias DBIteratorOptions<S>

DBIteratorOptions<S>: Merge<Omit<RocksDBIteratorOptions<S>, "keyEncoding" | "valueEncoding">, {
    gt?: KeyPath | Buffer | string;
    gte?: KeyPath | Buffer | string;
    keyAsBuffer?: boolean;
    lt?: KeyPath | Buffer | string;
    lte?: KeyPath | Buffer | string;
    valueAsBuffer?: boolean;
}>

Iterator options The keyAsBuffer property controls whether DBIterator returns KeyPath as buffers or as strings It should be considered to default to true The valueAsBuffer property controls value type It should be considered to default to true

Type Parameters

Type declaration

  • Optional gt?: KeyPath | Buffer | string
  • Optional gte?: KeyPath | Buffer | string
  • Optional keyAsBuffer?: boolean
  • Optional lt?: KeyPath | Buffer | string
  • Optional lte?: KeyPath | Buffer | string
  • Optional valueAsBuffer?: boolean

Generated using TypeDoc