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:
Ghassan Maslamani 2021-06-24 21:28:18 +03:00 committed by GitHub
parent 9300710097
commit f4f1453dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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`:

View File

@ -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`: