Skip to content

Commit 049953c

Browse files
committed
docs: Updated type
Fixes doug-martin/nestjs-query#1469
1 parent be4bed6 commit 049953c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/docs/persistence/typeorm/soft-delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Soft Delete
33
---
44

5-
`TypeOrm` supports [soft deletes](https://typeorm.io/#/delete-query-builder/soft-delete). This feature does not delete records but instead updates the column decorated with `@DeletedDateColumn`.
5+
`TypeOrm` supports [soft deletes](https://typeorm.io/#/delete-query-builder/soft-delete). This feature does not delete records but instead updates the column decorated with `@DeleteDateColumn`.
66

77
Before continuing it is recommended that you read the following.
88
* https://typeorm.io/#/decorator-reference/deletedatecolumn
99
* https://typeorm.io/#/delete-query-builder/soft-delete
1010

1111
## Setting up your entity.
1212

13-
Before enabling soft deletes you must add the DeletedDateColumn to your entity.
13+
Before enabling soft deletes you must add the DeleteDateColumn to your entity.
1414

1515
```ts title="todo-item.entity.ts"
1616
import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn, DeleteDateColumn } from 'typeorm';

0 commit comments

Comments
 (0)