Interface EntityAttrRangeQueryOptions<V, L>

Entity attribute range query options for a ReadonlyEntityCollection.

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

Type Parameters

Hierarchy

Properties

attr?: L

Attributes to retrieve. Defaults to retrieve all attributes.

by?: string

Attribute to query by. Defaults to $id.

limit?: number

Maximum number of results to return.

lower?: V

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?: V

Upper bound of the range.

upperOpen?: boolean

Whether the upper bound is open. Defaults to true.

Generated using TypeDoc