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>

Defined in​

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

Defined in​

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


updatableProperties()​

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

Parameters​

ParameterType
entityEntityModel<any, any>

Returns​

List<ScalarPropertyPath>

Defined in​

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


validate()​

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

Parameters​

ParameterType
entityEntityModel<any, any>

Returns​

void

Defined in​

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