Interface RangeQueryOptions<K>

Options for querying a RangeQueryable.

interface RangeQueryOptions {
    limit?: number;
    lower?: K;
    lowerOpen?: boolean;
    reverse?: boolean;
    signal?: AbortSignal;
    upper?: K;
    upperOpen?: boolean;
}

Type Parameters

  • K

Hierarchy

Properties

limit?: number

Maximum number of results to return.

lower?: K

Lower bound of the range.

lowerOpen?: boolean

Whether the lower bound is open. Defaults to false.

reverse?: boolean

Iterates in reverse order.

signal?: AbortSignal

An optional AbortSignal that can be used to abort an async task.

upper?: K

Upper bound of the range.

upperOpen?: boolean

Whether the upper bound is open. Defaults to true.

Generated using TypeDoc