Type Alias QueryResults<T>

QueryResults: (
    | EntityAttributesInstance<T>
    | (
        RelationshipEntities<T> extends infer R
            ? R extends default ? EntityAttributesInstance<R> : never
            : never
    )
)[]

Represents the results of a query operation for a DynaRecord entity T.

The results include attributes of the queried entity as well as attributes of its related entities. For related entities, their attributes are derived from their relationship definitions in T.

Type Parameters

  • T extends default

    The type of the entity being queried, extending DynaRecord.

An array of objects representing the entity attributes of T or its related entities.