Interface EntityRangeQueryOptions<K, V, L>

Entity range query options for a ReadonlyEntityCollection.

interface EntityRangeQueryOptions {
    attr?: L;
    limit?: number;
    lower?: K;
    lowerOpen?: boolean;
    reverse?: boolean;
    signal?: AbortSignal;
    type?: string;
    upper?: K;
    upperOpen?: boolean;
}

Type Parameters

Hierarchy

Properties

attr?: L

Attributes to retrieve. Defaults to retrieve all attributes.

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.

type?: string

Entity type to use.

upper?: K

Upper bound of the range.

upperOpen?: boolean

Whether the upper bound is open. Defaults to true.

Generated using TypeDoc