From 03591284c70d9257e27fe61a2e0640a31d877fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20S=C3=A1nchez?= Date: Thu, 28 Mar 2024 03:11:43 +0000 Subject: [PATCH] Update soft-delete.md --- documentation/docs/persistence/typeorm/soft-delete.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/docs/persistence/typeorm/soft-delete.md b/documentation/docs/persistence/typeorm/soft-delete.md index e8bf1af1df..29d5f1f259 100644 --- a/documentation/docs/persistence/typeorm/soft-delete.md +++ b/documentation/docs/persistence/typeorm/soft-delete.md @@ -2,7 +2,7 @@ title: Soft Delete --- -`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`. +`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`. Before continuing it is recommended that you read the following. * https://typeorm.io/#/decorator-reference/deletedatecolumn @@ -10,7 +10,7 @@ Before continuing it is recommended that you read the following. ## Setting up your entity. -Before enabling soft deletes you must add the DeletedDateColumn to your entity. +Before enabling soft deletes you must add the DeleteDateColumn to your entity. ```ts title="todo-item.entity.ts" import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn, DeleteDateColumn } from 'typeorm';