Interface FindByIdOptions<T>

Defines options for the FindById operation, allowing specification of additional associations to include in the query result.

interface FindByIdOptions<T> {
    include?: {
        association: RelationshipAttributeNames<T>;
    }[];
}

Type Parameters

  • T extends default

    The type of the entity being queried, extending DynaRecord.

Properties

Properties

include?: {
    association: RelationshipAttributeNames<T>;
}[]

An array of association names to be included in the result of the query. Each association name must be a valid relationship attribute name for the entity T.

Type declaration

Generated using TypeDoc