mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update cascade options (#7140)
This commit is contained in:
parent
28368917a3
commit
cc044a90c2
@ -96,7 +96,7 @@ Also, they provide a less explicit way of saving new objects into the database.
|
||||
|
||||
### Cascade Options
|
||||
|
||||
The `cascade` option can be set as a `boolean` or an array of cascade options `("insert", "update")[]`.
|
||||
The `cascade` option can be set as a `boolean` or an array of cascade options `("insert" | "update" | "remove" | "soft-remove" | "recover")[]`.
|
||||
|
||||
It will default to `false`, meaning no cascades. Setting `cascade: true` will enable full cascades. You can also specify options by providing an array.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user