postgrelize / DeletedAt
Variable: DeletedAt ​
constDeletedAt:ModelPropertyDecorator
Defined in: src/decorators/timestamp-decorators.ts:46
Names the attribute that holds the deletion time (deletedAt: '<attribute>') and makes the model paranoid unless @Table sets paranoid explicitly.
Example ​
ts
class User extends Model {
@DeletedAt
removedAt!: Date | null;
}