mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: fix brokens cascade links in one-to-one and many-to-one (#7781)
* docs: fix cascade link in one-to-one * docs: fix broken cascade link in many-to-one
This commit is contained in:
parent
9300710097
commit
f4f1453dcd
@ -102,7 +102,7 @@ photo2.user = user;
|
||||
await connection.manager.save(photo2);
|
||||
```
|
||||
|
||||
With [cascades](#/relations/cascades) enabled you can save this relation with only one `save` call.
|
||||
With [cascades](./relations.md#cascades) enabled you can save this relation with only one `save` call.
|
||||
|
||||
To load a user with photos inside you must specify the relation in `FindOptions`:
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ user.profile = profile;
|
||||
await connection.manager.save(user);
|
||||
```
|
||||
|
||||
With <a href="https://github.com/typeorm/typeorm/blob/master/docs/relations.md#cascades" target="_blank">cascades</a> enabled you can save this relation with only one `save` call.
|
||||
With [cascades](./relations.md#cascades) enabled you can save this relation with only one `save` call.
|
||||
|
||||
To load user with profile inside you must specify relation in `FindOptions`:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user