Skip to main content

RelationDependent

@webda/content-mapper


Interface: RelationDependent

Defined in: packages/content-mapper/src/relations.ts:209

A relation of another model whose target is this model, and the policy applied to it when this model is deleted

Properties​

attribute​

attribute: string

Defined in: packages/content-mapper/src/relations.ts:217

Attribute


model​

model: string

Defined in: packages/content-mapper/src/relations.ts:213

Model declaring the relation


onDelete​

onDelete: "CASCADE" | "RESTRICT" | "SET_NULL" | "NONE"

Defined in: packages/content-mapper/src/relations.ts:225

On delete


type​

type: string

Defined in: packages/content-mapper/src/relations.ts:221

Type