Type Alias PartitionEntities<T>

PartitionEntities: T | RelationshipEntities<T>

Union of T itself and all entity types reachable through its declared relationships (@HasMany, @HasOne, @BelongsTo, @HasAndBelongsToMany).

This defines which entities can appear in a partition query's type filter, skCondition, and sk key conditions. Only the entity itself and its direct relationships are included — entities from other tables or unrelated entities on the same table are excluded.

E.g. for Customer with HasMany Order/PaymentMethod and HasOne ContactInformation: Customer | Order | PaymentMethod | ContactInformation

Type Parameters