strapi |如何使用异步凭据在数据库中连接?
我需要在异步调用中从Amazon AWS Secrets获取数据库凭据,但是数据库。TS文件是综合的,因此当Strapi尝试在数据库中连接时发生错误:
Error: Unknown dialect undefined
因此,我的问题是:如何与async recernentials中的数据库连接?
I’m need get database credentials from Amazon Aws Secrets in a async call, but the database.ts file is syncronous so an error occur when Strapi try to connect in database:
Error: Unknown dialect undefined
So my question is: How to connect in database with async credentials?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论