Interface: SoftDeleteMetadata
Defined in: src/model/EntityMetadata.ts:30
Properties
column
column:
string
Defined in: src/model/EntityMetadata.ts:31
propertyName?
optionalpropertyName?:string
Defined in: src/model/EntityMetadata.ts:32
cascade?
optionalcascade?: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.