Skip to content

Commit

Permalink
docs: fix links (typeorm#5583)
Browse files Browse the repository at this point in the history
* Fix links

- working-with-repository
- custom-repository

* Fix another link to working-with-repository
  • Loading branch information
gabalafou committed Mar 2, 2020
1 parent 4ed79c9 commit 7fe8853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/entity-manager-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ await manager.clear(User);
```

* `getRepository` - Gets `Repository` to perform operations on a specific entity.
Learn more about [Repositories](working-with-entity-manager.md).
Learn more about [Repositories](working-with-repository.md).

```typescript
const userRepository = manager.getRepository(User);
```

* `getTreeRepository` - Gets `TreeRepository` to perform operations on a specific entity.
Learn more about [Repositories](working-with-entity-manager.md).
Learn more about [Repositories](working-with-repository.md).

```typescript
const categoryRepository = manager.getTreeRepository(Category);
Expand All @@ -235,7 +235,7 @@ const userRepository = manager.getMongoRepository(User);
```

* `getCustomRepository` - Gets custom entity repository.
Learn more about [Custom repositories](working-with-entity-manager.md).
Learn more about [Custom repositories](custom-repository.md).

```typescript
const myUserRepository = manager.getCustomRepository(UserRepository);
Expand Down

0 comments on commit 7fe8853

Please sign in to comment.