Skip to content

Commit 07b0943

Browse files
Merge pull request #3324 from hiqueCa/patch-4
docs: fix TypeORM Subscribers section TypeORM link
2 parents 6cb1590 + 88dae0b commit 07b0943

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

content/techniques/sql.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ async createMany(users: User[]) {
436436

437437
#### Subscribers
438438

439-
With TypeORM [subscribers](https://typeorm.io/#/listeners-and-subscribers/what-is-a-subscriber), you can listen to specific entity events.
439+
With TypeORM [subscribers](https://typeorm.io/docs/advanced-topics/listeners-and-subscribers#what-is-a-subscriber), you can listen to specific entity events.
440440

441441
```typescript
442442
import {
@@ -483,8 +483,6 @@ import { UserSubscriber } from './user.subscriber';
483483
export class UsersModule {}
484484
```
485485

486-
> info **Hint** Learn more about entity subscribers [here](https://typeorm.io/#/listeners-and-subscribers/what-is-a-subscriber).
487-
488486
#### Migrations
489487

490488
[Migrations](https://typeorm.io/#/migrations) provide a way to incrementally update the database schema to keep it in sync with the application's data model while preserving existing data in the database. To generate, run, and revert migrations, TypeORM provides a dedicated [CLI](https://typeorm.io/#/migrations/creating-a-new-migration).

0 commit comments

Comments
 (0)