Interface: InheritanceStrategy
A strategy for handling inheritance mapping in the database.
Methods
queryableProperties()
queryableProperties(
entity:StructuralModel):List<PropertyModel>
Parameters
| Parameter | Type |
|---|---|
entity | StructuralModel |
Returns
List<PropertyModel>
Defined in
packages/verse-core/src/inheritance/strategy.ts:10
schema()
schema(
entity:EntityModel<any,any>,generator:SchemaGenerator):undefined|SqlNode
Parameters
| Parameter | Type |
|---|---|
entity | EntityModel<any, any> |
generator | SchemaGenerator |
Returns
undefined | SqlNode
Defined in
packages/verse-core/src/inheritance/strategy.ts:13
updatableProperties()
updatableProperties(
entity:EntityModel<any,any>):List<ScalarPropertyPath>
Parameters
| Parameter | Type |
|---|---|
entity | EntityModel<any, any> |
Returns
List<ScalarPropertyPath>
Defined in
packages/verse-core/src/inheritance/strategy.ts:11
validate()
validate(
entity:EntityModel<any,any>):void
Parameters
| Parameter | Type |
|---|---|
entity | EntityModel<any, any> |
Returns
void