@metreeca/qest - v0.9.1
    Preparing search index...

    Type Alias Criterion

    Parsed representation of a Query key.

    Decomposes projection keys (property or alias=expression) and constraint keys (operator expression) into their structural components.

    A unified type suffices as projections and constraints are easily disambiguated after parsing using isIdentifier on the target field.

    type Criterion = {
        target: Identifier | Operator;
        pipe: readonly Identifier[];
        path: readonly Identifier[];
    }
    Index

    Properties

    Properties

    Property name for projections or constraint Operator.

    pipe: readonly Identifier[]

    Transform pipeline applied to the value, in application order.

    path: readonly Identifier[]

    Dot-separated property path to the target value.