mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: use correct SQL statements in softDelete/restore comments (#11489)
This commit is contained in:
parent
12a71e4581
commit
5003aaa7c5
@ -927,7 +927,7 @@ export class EntityManager {
|
||||
/**
|
||||
* Restores entities by a given condition(s).
|
||||
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
||||
* Executes fast and efficient DELETE query.
|
||||
* Executes fast and efficient UPDATE query.
|
||||
* Does not check if entity exist in the database.
|
||||
* Condition(s) cannot be empty.
|
||||
*/
|
||||
|
||||
@ -434,7 +434,7 @@ export class Repository<Entity extends ObjectLiteral> {
|
||||
/**
|
||||
* Records the delete date of entities by a given criteria.
|
||||
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
||||
* Executes fast and efficient SOFT-DELETE query.
|
||||
* Executes fast and efficient UPDATE query.
|
||||
* Does not check if entity exist in the database.
|
||||
*/
|
||||
softDelete(
|
||||
@ -459,7 +459,7 @@ export class Repository<Entity extends ObjectLiteral> {
|
||||
/**
|
||||
* Restores entities by a given criteria.
|
||||
* Unlike save method executes a primitive operation without cascades, relations and other operations included.
|
||||
* Executes fast and efficient SOFT-DELETE query.
|
||||
* Executes fast and efficient UPDATE query.
|
||||
* Does not check if entity exist in the database.
|
||||
*/
|
||||
restore(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user