Skip to main content

Interface: InheritanceStrategy

A strategy for handling inheritance mapping in the database.

Methods

queryableProperties()

queryableProperties(entity: StructuralModel): List <PropertyModel>

Parameters

ParameterType
entityStructuralModel

Returns

List <PropertyModel>

Source

packages/verse-core/src/inheritance/strategy.ts:10


schema()

schema(entity: EntityModel<any, any>, generator: SchemaGenerator): undefined | SqlNode

Parameters

ParameterType
entityEntityModel<any, any>
generatorSchemaGenerator

Returns

undefined | SqlNode

Source

packages/verse-core/src/inheritance/strategy.ts:13


updatableProperties()

updatableProperties(entity: EntityModel<any, any>): List <ScalarPropertyPath>

Parameters

ParameterType
entityEntityModel<any, any>

Returns

List <ScalarPropertyPath>

Source

packages/verse-core/src/inheritance/strategy.ts:11


validate()

validate(entity: EntityModel<any, any>): void

Parameters

ParameterType
entityEntityModel<any, any>

Returns

void

Source

packages/verse-core/src/inheritance/strategy.ts:12