Type Alias FindByIdIncludesRes<T, Opts>

FindByIdIncludesRes: EntityKeysWithIncludedAssociations<
    T,
    keyof EntityAttributesOnly<T>
    | IncludedKeys<T, Opts>
    | FunctionFields<T>,
>

Represents the result of a FindById operation, including the main entity and any specified associated entities.

Type Parameters

  • T extends default

    The type of the main entity, extending DynaRecord.

  • Opts extends FindByIdOptions<T>

    The options for the FindById operation, specifying included associations.