Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/techniques/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ export class AppModule {}
> ```
>
> 更多详情请参阅[此问题](https://github.com/nestjs/typeorm/issues/86) 。
```

此时,您已注册了带有各自数据源的 `User` 和 `Album` 实体。在此配置下,您需要告知 `TypeOrmModule.forFeature()` 方法和 `@InjectRepository()` 装饰器应使用哪个数据源。若未传递任何数据源名称,则将使用 `default` 默认数据源。

Expand Down