Skip to main content

Interface: SoftDeleteMetadata

Defined in: src/model/EntityMetadata.ts:30

Properties​

column​

column: string

Defined in: src/model/EntityMetadata.ts:31


propertyName?​

optional propertyName?: string

Defined in: src/model/EntityMetadata.ts:32


cascade?​

optional cascade?: boolean

Defined in: src/model/EntityMetadata.ts:38

When true, soft-deleting a parent entity also cascades the deletedAt timestamp to all hasMany / hasOne children defined on the entity. restore() cascades the nullification back to those children.