Skip to main content

Function: ChildEntity()

ChildEntity(): <T>(constructor) => {(...args): child<T>; prototype: child<any>; } & T

Defined in: service-core/src/decorators/ModelDecorators.ts:45

Indicates that a class is a child entity to some parent. Child entities will inherit all datastore configuration of the parent, including cache settings.

Returns

<T>(constructor) => {(...args): child<T>; prototype: child<any>; } & T