Skip to main content

ModelRelationDependent

@webda/compiler


Type Alias: ModelRelationDependent

ModelRelationDependent = object

Defined in: compiler/src/definition.ts:93

A relation targeting a model, with the policy applied to its declaring model when the target is deleted

Properties​

attribute​

attribute: string

Defined in: compiler/src/definition.ts:98


model​

model: string

Defined in: compiler/src/definition.ts:97

Model declaring the relation


onDelete​

onDelete: DeletePolicy

Defined in: compiler/src/definition.ts:100


type​

type: ModelRelation["type"] | "PARENT"

Defined in: compiler/src/definition.ts:99