mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update Chinese faq.md (#10593)
This commit is contained in:
parent
a00b1df68f
commit
b5ec0889f7
@ -149,7 +149,7 @@ createConnection({
|
||||
此时你的项目中不再有`Post.ts`。 但是,`Post.js`保留在输出目录中。
|
||||
现在,当 TypeORM 从输出目录中读取实体时,它会看到两个实体 - `Post`和`Blog`。
|
||||
这可能是错误的根源。
|
||||
这就是为什么当你删除并移动启用了`utDir`的实体时,强烈建议删除输出目录并重新编译项目。
|
||||
这就是为什么当你删除并移动启用了`outDir`的实体时,强烈建议删除输出目录并重新编译项目。
|
||||
|
||||
## 如何将TypeORM和ts-node一起使用?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user