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

    Type Alias Query

    Query:
        | readonly [Union, Selection?]
        | readonly [Placeholder, Selection?]
        | readonly [Projection, Selection?]

    Collection retrieval template.

    A tuple pairing a per-item element placeholder with an optional collection-wide Selection — filtering, ordering, and pagination. For tabular collections the element is a Projection; relationally, Projection is the projection (π) and Selection the selection (σ) applied over the collection.

    The accepted forms are:

    The leading element signals collection cardinality and carries the per-item template; the optional second element carries collection-wide constraints. Runtime validators accept a one- or two-element tuple and reject arrays of any other length.

    • Template for the resource counterpart
    • Placeholders for the umbrella admitting both resource and collection-valued forms
    • Selection for the filtering, ordering, and pagination constraints in the optional second slot
    • resource!Resource for the corresponding state type