我有两个.env文件,例如dev.env和staging.env。我正在使用typeorm作为我的数据库ORM。我想知道每当我运行应用程序时如何让typeorm读取其中一个配置文件。Error: No connection options were found in any of configurations file来自typeormmodule。
dev.env
staging.env
Error: No connection options were found in any of configurations file
javascript node.js typescript typeorm nestjs
javascript ×1
nestjs ×1
node.js ×1
typeorm ×1
typescript ×1